Open Monograph Press
3.3.0
|
Public Member Functions | |
__construct (array $options=[]) | |
__invoke (RequestInterface $request, array $options) | |
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.
Definition at line 14 of file CurlHandler.php.
GuzzleHttp\Handler\CurlHandler::__construct | ( | array | $options = [] | ) |
Accepts an associative array of options:
array | $options | Array of options to use with the handler |
Definition at line 29 of file CurlHandler.php.
GuzzleHttp\Handler\CurlHandler::__invoke | ( | RequestInterface | $request, |
array | $options | ||
) |
Definition at line 36 of file CurlHandler.php.
References GuzzleHttp\Handler\CurlFactory\finish().