Lines Matching refs:response
84 // curl will decode the response automatically if the response is encoded
170 $response = new Response($responseString, \curl_getinfo($conn, \CURLINFO_RESPONSE_CODE));
171 $response->setQueryTime($end - $start);
172 $response->setTransferInfo(\curl_getinfo($conn));
174 $response->setJsonBigintConversion($connection->getConfig('bigintConversion'));
177 if ($response->hasError()) {
178 throw new ResponseException($request, $response);
181 if ($response->hasFailedShards()) {
182 throw new PartialShardFailureException($request, $response);
186 throw new HttpException($errorNumber, $request, $response);
189 return $response;