Method | Description | |
---|---|---|
__construct ( |
Constructor. | |
add ( resource $ch ) : React\Promise\PromiseInterface | Call curl_multi_add_handle() or push into queue. | |
isEmpty ( ) : boolean | Are there no cURL handles? |
Method | Description | |
---|---|---|
interruptConsume ( ) | Add cURL handles from waiting queue. |
Method | Description | |
---|---|---|
addImmediate ( resource $ch, |
Call curl_multi_add_handle(). | |
addReserved ( resource $ch, |
Push into queue. |
public __construct ( |
||
$options | ||
$mh | resource | curl_multi |
public add ( resource $ch ) : React\Promise\PromiseInterface | ||
$ch | resource | |
return | React\Promise\PromiseInterface |
protected interruptConsume ( ) |