Returns an asynchronous response using curl_multi_* functions.
When using the CurlMultiHandler, custom curl options can be specified as an associative array of curl option constants mapping to values in the curl key of the provided request options.
- final
CloneableInstantiable
Methods |
public __construct(array $options = []) This handler accepts the following options:
|
public __destruct() |
public __get( $name)
|
public __invoke(Psr\Http\Message\RequestInterface $request, array $options) : GuzzleHttp |
public execute() : void Runs until all outstanding connections have completed. |
public tick() : void Ticks the curl event loop. |
Properties |
private $_mh = NULL
|
private $active = 0
|
private $delays = []
|
private $factory = NULL
|
private $handles = []
|
private $options = []
|
private $selectTimeout = NULL
|
Methods |
private addRequest(array $entry) : void |
private cancel( $id) : bool Cancels a handle from sending and removes references to it.
|
private processMessages() : void |
private timeToNext() : int |