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.

CloneableInstantiable
Methods
public __construct(array $options = [])
 

Accepts an associative array of options:

  • factory: Optional curl factory used to create cURL handles.
    public __invoke(Psr\Http\Message\RequestInterface $request, array $options) : GuzzleHttp\Promise\PromiseInterface
    Properties
    private $factory
    © 2020 Bruce Wells
    Search Namespaces \ Classes
    ConfigurationNumbers (0-9.) only