Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct (StreamInterface $stream) | |
![]() | |
__toString () | |
close () | |
detach () | |
eof () | |
getContents () | |
getMetadata ($key=null) | |
getSize () | |
isReadable () | |
isSeekable () | |
isWritable () | |
read ($length) | |
rewind () | |
seek ($offset, $whence=SEEK_SET) | |
tell () | |
write ($string) | |
Uses PHP's zlib.inflate filter to inflate deflate or gzipped content.
This stream decorator skips the first 10 bytes of the given stream to remove the gzip header, converts the provided stream to a PHP stream resource, then appends the zlib.inflate filter. The stream is then converted back to a Guzzle stream resource to be used as a Guzzle stream.
http://php.net/manual/en/filters.compression.php
Definition at line 17 of file guzzlehttp/psr7/src/InflateStream.php.
GuzzleHttp\Psr7\InflateStream::__construct | ( | StreamInterface | $stream | ) |
Definition at line 21 of file guzzlehttp/psr7/src/InflateStream.php.
References GuzzleHttp\Psr7\StreamWrapper\getResource().