PATH:
home
/
lab2454c
/
healthvalidate.com
/
vendor
/
php-http
/
message
/
src
/
Encoding
<?php namespace Http\Message\Encoding; /** * Transform a regular stream into a chunked one. * * @author Joel Wurtz <joel.wurtz@gmail.com> */ class ChunkStream extends FilteredStream { /** * {@inheritdoc} */ protected function readFilter() { return 'chunk'; } /** * {@inheritdoc} */ protected function writeFilter() { return 'dechunk'; } /** * {@inheritdoc} */ protected function fill() { parent::fill(); if ($this->stream->eof()) { $this->buffer .= "0\r\n\r\n"; } } }
[-] FilteredStream.php
[edit]
[-] DecompressStream.php
[edit]
[+]
..
[-] CompressStream.php
[edit]
[-] DeflateStream.php
[edit]
[-] InflateStream.php
[edit]
[+]
Filter
[-] GzipEncodeStream.php
[edit]
[-] ChunkStream.php
[edit]
[-] GzipDecodeStream.php
[edit]
[-] DechunkStream.php
[edit]