public function EntityBodyInterface::getContentMd5

Get an MD5 checksum of the stream's contents

Parameters

bool $rawOutput Whether or not to use raw output:

bool $base64Encode Whether or not to base64 encode raw output (only if raw output is true):

Return value

bool|string Returns an MD5 string on success or FALSE on failure

2 methods override EntityBodyInterface::getContentMd5()
AbstractEntityBodyDecorator::getContentMd5 in drupal/core/vendor/guzzle/http/Guzzle/Http/AbstractEntityBodyDecorator.php
Get an MD5 checksum of the stream's contents
EntityBody::getContentMd5 in drupal/core/vendor/guzzle/http/Guzzle/Http/EntityBody.php
Get an MD5 checksum of the stream's contents

File

drupal/core/vendor/guzzle/http/Guzzle/Http/EntityBodyInterface.php, line 65

Class

EntityBodyInterface
Entity body used with an HTTP request or response

Namespace

Guzzle\Http

Code

public function getContentMd5($rawOutput = false, $base64Encode = false);