Class AsyncPlugin
Sends requests but does not wait for the response
- Guzzle\Plugin\Async\AsyncPlugin implements Symfony\Component\EventDispatcher\EventSubscriberInterface
public static
array
|
|
public
|
#
onBeforeSend(
Event used to ensure that progress callback are emitted from the curl handle's request mediator. |
public
|
#
onCurlProgress(
Event emitted when a curl progress function is called. When the amount of data uploaded == the amount of data to upload OR any bytes have been downloaded, then time the request out after 1ms because we're done with transmitting the request, and tell curl not download a body. |
public
|
#
onRequestTimeout(
Event emitted when a curl exception occurs. Ignore the exception and set a mock response. |
public
|
#
onRequestSent(
Event emitted when a request completes because it took less than 1ms. Add an X-Guzzle-Async header to notify the caller that there is no body in the message. |