메소드 | 설명 | |
---|---|---|
__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 |