Overview

Namespaces

  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
    • Tests
      • Batch
      • Cache
      • Common
        • Cache
        • Exception
      • Http
        • Curl
        • Exception
        • Message
          • Header
      • Inflection
      • Iterator
      • Log
      • Message
      • Mock
      • Parser
        • Cookie
        • Message
      • Parsers
        • UriTemplate
      • Plugin
        • Async
        • Backoff
        • Cache
        • Cookie
          • CookieJar
        • CurlAuth
        • ErrorResponse
        • History
        • Log
        • Md5
        • Mock
        • Oauth
        • Redirect
      • Service
        • Builder
        • Command
          • LocationVisitor
            • Request
            • Response
        • Description
        • Exception
        • Mock
          • Command
            • Sub
          • Model
        • Resource
      • Stream
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • VivaPayments
      • Message
  • PHP

Classes

  • AsyncPlugin
  • Overview
  • Namespace
  • Class
  • Tree

Class AsyncPlugin

Sends requests but does not wait for the response

Guzzle\Plugin\Async\AsyncPlugin implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Namespace: Guzzle\Plugin\Async
Located at src/Guzzle/Plugin/Async/AsyncPlugin.php
Methods summary
public static
# getSubscribedEvents( )
public
# onBeforeSend( Guzzle\Common\Event $event )

Event used to ensure that progress callback are emitted from the curl handle's request mediator.

Event used to ensure that progress callback are emitted from the curl handle's request mediator.

Parameters

$event
public
# onCurlProgress( Guzzle\Common\Event $event )

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.

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.

Parameters

$event
public
# onRequestTimeout( Guzzle\Common\Event $event )

Event emitted when a curl exception occurs. Ignore the exception and set a mock response.

Event emitted when a curl exception occurs. Ignore the exception and set a mock response.

Parameters

$event
public
# onRequestSent( Guzzle\Common\Event $event )

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.

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.

Parameters

$event
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen