\GuzzleHttp\HandlerCurlFactoryInterface

Summary

Methods
Constants
create()
release()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

create()

create(\Psr\Http\Message\RequestInterface  $request, array  $options) : \GuzzleHttp\Handler\EasyHandle

Creates a cURL handle resource.

Parameters

\Psr\Http\Message\RequestInterface $request

Request

array $options

Transfer options

Throws

\RuntimeException

when an option cannot be applied

Returns

\GuzzleHttp\Handler\EasyHandle —

release()

release(\GuzzleHttp\Handler\EasyHandle  $easy) : void

Release an easy handle, allowing it to be reused or closed.

This function must call unset on the easy handle's "handle" property.

Parameters

\GuzzleHttp\Handler\EasyHandle $easy