CURL_VERSION_STR
CURL_VERSION_STR = 'curl_version'
Creates curl resources from a request
$handles : array
$maxHandles : int
finish(callable $handler, \GuzzleHttp\Handler\EasyHandle $easy, \GuzzleHttp\Handler\CurlFactoryInterface $factory) : \GuzzleHttp\Promise\PromiseInterface
Completes a cURL transaction, either returning a response promise or a rejected promise.
callable | $handler | |
\GuzzleHttp\Handler\EasyHandle | $easy | |
\GuzzleHttp\Handler\CurlFactoryInterface | $factory | Dictates how the handle is released |
retryFailedRewind(callable $handler, \GuzzleHttp\Handler\EasyHandle $easy, array $ctx) : mixed
This function ensures that a response was set on a transaction. If one was not set, then the request is retried if possible. This error typically means you are sending a payload, curl encountered a "Connection died, retrying a fresh connect" error, tried to rewind the stream, and then encountered a "necessary data rewind wasn't possible" error, causing the request to be sent through curl_multi_info_read() without an error status.
callable | $handler | |
\GuzzleHttp\Handler\EasyHandle | $easy | |
array | $ctx |