Create a curl handle for a request
Parameters
RequestInterface $request Request:
Return value
CurlHandle
File
- drupal/core/vendor/guzzle/http/Guzzle/Http/Curl/CurlMulti.php, line 350
Class
- CurlMulti
- Send {
This implementation allows callers to send blocking requests that return back to the caller when their requests
complete, regardless of whether or not previously sending requests in the curl_multi object have completed. The
implementation…
Namespace
Guzzle\Http\Curl
Code
protected function createCurlHandle(RequestInterface $request) {
$wrapper = CurlHandle::factory($request);
$this->handles
->attach($request, $wrapper);
$this->resourceHash[(int) $wrapper
->getHandle()] = $request;
return $wrapper;
}