public function EntityBodyInterface::getContentLength

Get the Content-Length of the entity body if possible (alias of getSize)

Return value

int|bool Returns the Content-Length or false on failure

2 methods override EntityBodyInterface::getContentLength()
AbstractEntityBodyDecorator::getContentLength in drupal/core/vendor/guzzle/http/Guzzle/Http/AbstractEntityBodyDecorator.php
Get the Content-Length of the entity body if possible (alias of getSize)
EntityBody::getContentLength in drupal/core/vendor/guzzle/http/Guzzle/Http/EntityBody.php
Get the Content-Length of the entity body if possible (alias of getSize)

File

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

Class

EntityBodyInterface
Entity body used with an HTTP request or response

Namespace

Guzzle\Http

Code

public function getContentLength();