You are here

public function CurlHandler::__construct in Auth0 Single Sign On 8.2

Accepts an associative array of options:

  • factory: Optional curl factory used to create cURL handles.

Parameters

array $options Array of options to use with the handler:

File

vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php, line 26

Class

CurlHandler
HTTP handler that uses cURL easy handles as a transport layer.

Namespace

GuzzleHttp\Handler

Code

public function __construct(array $options = []) {
  $this->factory = isset($options['handle_factory']) ? $options['handle_factory'] : new CurlFactory(3);
}