Метод | Описание | |
---|---|---|
__construct ( |
Constructor. | |
add ( resource $ch ) : React\Promise\PromiseInterface | Call curl_multi_add_handle() or push into queue. | |
isEmpty ( ) : boolean | Are there no cURL handles? |
Метод | Описание | |
---|---|---|
interruptConsume ( ) | Add cURL handles from waiting queue. |
Метод | Описание | |
---|---|---|
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 | |
Результат | React\Promise\PromiseInterface |
protected interruptConsume ( ) |