Open Journal Systems
3.3.0
|
Public Member Functions | |
add (RequestInterface $request) | |
all () | |
remove (RequestInterface $request) | |
reset ($hard=false) | |
send () | |
![]() | |
addSubscriber (EventSubscriberInterface $subscriber) | |
dispatch ($eventName, array $context=array()) | |
getEventDispatcher () | |
setEventDispatcher (EventDispatcherInterface $eventDispatcher) | |
Data Fields | |
const | ADD_REQUEST = 'curl_multi.add_request' |
const | BLOCKING = 'curl_multi.blocking' |
const | MULTI_EXCEPTION = 'curl_multi.exception' |
const | POLLING_REQUEST = 'curl_multi.polling_request' |
const | REMOVE_REQUEST = 'curl_multi.remove_request' |
Additional Inherited Members | |
![]() | |
static | getAllEvents () |
Interface for sending a pool of {
Definition at line 12 of file CurlMultiInterface.php.
Guzzle\Http\Curl\CurlMultiInterface::add | ( | RequestInterface | $request | ) |
Add a request to the pool.
RequestInterface | $request | Request to add |
Implemented in Guzzle\Http\Curl\CurlMulti, and Guzzle\Http\Curl\CurlMultiProxy.
Guzzle\Http\Curl\CurlMultiInterface::all | ( | ) |
Get an array of attached {
Implemented in Guzzle\Http\Curl\CurlMulti, and Guzzle\Http\Curl\CurlMultiProxy.
Guzzle\Http\Curl\CurlMultiInterface::remove | ( | RequestInterface | $request | ) |
Remove a request from the pool.
RequestInterface | $request | Request to remove |
Implemented in Guzzle\Http\Curl\CurlMulti, and Guzzle\Http\Curl\CurlMultiProxy.
Guzzle\Http\Curl\CurlMultiInterface::reset | ( | $hard = false | ) |
Reset the state and remove any attached RequestInterface objects
bool | $hard | Set to true to close and reopen any open multi handles |
Implemented in Guzzle\Http\Curl\CurlMulti, and Guzzle\Http\Curl\CurlMultiProxy.
Guzzle\Http\Curl\CurlMultiInterface::send | ( | ) |
Send a pool of {
ExceptionCollection | if any requests threw exceptions during the transfer. |
Implemented in Guzzle\Http\Curl\CurlMulti, and Guzzle\Http\Curl\CurlMultiProxy.
const Guzzle\Http\Curl\CurlMultiInterface::ADD_REQUEST = 'curl_multi.add_request' |
Definition at line 15 of file CurlMultiInterface.php.
Referenced by Guzzle\Tests\Http\Curl\CurlMultiProxyTest\testSendWillSendQueuedRequestsFirst().
const Guzzle\Http\Curl\CurlMultiInterface::BLOCKING = 'curl_multi.blocking' |
Definition at line 18 of file CurlMultiInterface.php.
const Guzzle\Http\Curl\CurlMultiInterface::MULTI_EXCEPTION = 'curl_multi.exception' |
Definition at line 17 of file CurlMultiInterface.php.
const Guzzle\Http\Curl\CurlMultiInterface::POLLING_REQUEST = 'curl_multi.polling_request' |
Definition at line 14 of file CurlMultiInterface.php.
Referenced by Guzzle\Tests\Plugin\Backoff\BackoffPluginTest\getMockEvent(), and Guzzle\Plugin\Backoff\BackoffPlugin\getSubscribedEvents().
const Guzzle\Http\Curl\CurlMultiInterface::REMOVE_REQUEST = 'curl_multi.remove_request' |
Definition at line 16 of file CurlMultiInterface.php.