Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • 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
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • AsyncPlugin
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

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 Guzzle/Plugin/Async/AsyncPlugin.php
Methods summary
public static array
# getSubscribedEvents( )

Returns an array of event names this subscriber wants to listen to.

Returns an array of event names this subscriber wants to listen to.

Returns

array
The event names to listen to

Implementation of

Symfony\Component\EventDispatcher\EventSubscriberInterface::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
Guzzle\Common\Event
$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
Guzzle\Common\Event
$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
Guzzle\Common\Event
$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
Guzzle\Common\Event
$event
php-coveralls API documentation generated by ApiGen 2.8.0