Lines Matching refs:ctx
140 $ctx = [
145 $ctx[self::CURL_VERSION_STR] = curl_version()['version'];
152 return self::retryFailedRewind($handler, $easy, $ctx);
155 return self::createRejection($easy, $ctx);
158 private static function createRejection(EasyHandle $easy, array $ctx) argument
177 $ctx
181 if (version_compare($ctx[self::CURL_VERSION_STR], self::LOW_CURL_VERSION_NUMBER)) {
184 $ctx['errno'],
185 $ctx['error'],
200 ? new ConnectException($message, $easy->request, null, $ctx)
201 : new RequestException($message, $easy->request, $easy->response, null, $ctx);
511 array $ctx argument
520 $ctx['error'] = 'The connection unexpectedly failed without '
524 return self::createRejection($easy, $ctx);
531 $ctx['error'] = 'The cURL request was retried 3 times '
537 return self::createRejection($easy, $ctx);