Interface EntityBodyInterface
Entity body used with an HTTP request or response
- Guzzle\Http\EntityBodyInterface implements Guzzle\Stream\StreamInterface
Indirect known implementers
Guzzle\Http\CachingEntityBody, Guzzle\Http\IoEmittingEntityBody, Guzzle\Http\ReadLimitEntityBody
public
|
#
setRewindFunction( mixed $callable )
Specify a custom callback used to rewind a non-seekable stream. This can be useful entity enclosing requests that are redirected. |
public
boolean
|
|
public
boolean
|
#
uncompress( string $filter = 'zlib.inflate' )
Decompress a deflated string. Once uncompressed, the uncompressed string is then used as the wrapped stream. |
public
integer|boolean
|
|
public
string|null
|
|
public
boolean|string
|
#
getContentMd5( boolean $rawOutput = false, boolean $base64Encode = false )
Get an MD5 checksum of the stream's contents |
public
boolean|string
|