Class Guzzle\Plugin\Md5\CommandContentMd5Plugin

InheritanceGuzzle\Plugin\Md5\CommandContentMd5Plugin
ImplementsSymfony\Component\EventDispatcher\EventSubscriberInterface

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

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$contentMd5Param string Parameter used to check if the ContentMD5 value is being added Guzzle\Plugin\Md5\CommandContentMd5Plugin
$validateMd5Param string Parameter used to check if validation should occur on the response Guzzle\Plugin\Md5\CommandContentMd5Plugin

Property Details

$contentMd5Param protected property

Parameter used to check if the ContentMD5 value is being added

protected string $contentMd5Param null
$validateMd5Param protected property

Parameter used to check if validation should occur on the response

protected string $validateMd5Param null

Method Details

__construct() public method

public void __construct ( $contentMd5Param 'ContentMD5', $validateMd5Param 'ValidateMD5' )
$contentMd5Param string

Parameter used to check if the ContentMD5 value is being added

$validateMd5Param string

Parameter used to check if validation should occur on the response

getSubscribedEvents() public static method

public static void getSubscribedEvents ( )
onCommandBeforeSend() public method

public void onCommandBeforeSend ( Guzzle\Common\Event $event )
$event