Completes a cURL transaction, either returning a response promise or a
rejected promise.
public static finish ( callable $handler, GuzzleHttp\Handler\EasyHandle $easy, GuzzleHttp\Handler\CurlFactoryInterface $factory ) : GuzzleHttp\Promise\PromiseInterface | ||
$handler | callable | |
$easy | GuzzleHttp\Handler\EasyHandle | |
$factory | GuzzleHttp\Handler\CurlFactoryInterface | Dictates how the handle is released |
return | GuzzleHttp\Promise\PromiseInterface |