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
Methods summary
-
public
__construct ( string $contentMd5Param = 'ContentMD5', string $validateMd5Param = 'ValidateMD5' )
-
public static
getSubscribedEvents ( )
-
public
onCommandBeforeSend ( Guzzle\Common\Event $event )
Methods detail
#
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
Magic methods summary
Properties summary
protected
string
|
$contentMd5Param |
#
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 |