HTTP handler that uses cURL easy handles as a transport layer.
When using the CurlHandler, custom curl options can be specified as an
associative array of curl option constants mapping to values in the
curl key of the "client" key of the request.
- final
Cloneable
Instantiable
Methods |
public
__construct
(
array
$options
=
[
]
) Accepts an associative array of options:
|
public
__invoke
(
Psr\Http\Message\RequestInterface
$request
,
array
$options
) :
GuzzleHttp |
Properties |
private $factory |