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

  • CommandContentMd5Plugin
  • Md5ValidatorPlugin
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class CommandContentMd5Plugin

Listener used to add a ContentMD5 header to the body of a command and adds ContentMD5 validation if the ValidateMD5 option is not set to false on a command

Guzzle\Plugin\Md5\CommandContentMd5Plugin implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Namespace: Guzzle\Plugin\Md5
Located at Guzzle/Plugin/Md5/CommandContentMd5Plugin.php
Methods summary
public
# __construct( string $contentMd5Param = 'ContentMD5', string $validateMd5Param = 'ValidateMD5' )

Parameters

$contentMd5Param
string
$contentMd5Param Parameter used to check if the ContentMD5 value is being added
$validateMd5Param
string
$validateMd5Param Parameter used to check if validation should occur on the response
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
# onCommandBeforeSend( Guzzle\Common\Event $event )
Properties summary
protected string $contentMd5Param
#

Parameter used to check if the ContentMD5 value is being added

Parameter used to check if the ContentMD5 value is being added

protected string $validateMd5Param
#

Parameter used to check if validation should occur on the response

Parameter used to check if validation should occur on the response

php-coveralls API documentation generated by ApiGen 2.8.0