Class ReadLimitEntityBody
EntityBody decorator used to return only a subset of an entity body
- Guzzle\Http\AbstractEntityBodyDecorator implements Guzzle\Http\EntityBodyInterface
- Guzzle\Http\ReadLimitEntityBody
public
|
|
public
string
|
#
__toString( )
Returns only a subset of the decorated entity body when cast as a string Convert the stream to a string if the stream is readable and the stream is seekable. |
public
boolean
|
|
public
integer|boolean
|
#
getContentLength( )
Returns the Content-Length of the limited subset of data Get the Content-Length of the entity body if possible (alias of getSize) |
public
boolean
|
|
public
|
|
public
|
|
public
string|boolean
|
protected
integer
|
$limit
Limit the number of bytes that can be read |
|
protected
integer
|
$offset
Offset to start reading from |
$body
|