PHP Class Icicle\Http\Stream\ZlibDecoder

Inheritance: extends MemoryStream
Show file Open project: icicleio/http

Public Methods

Method Description
__construct ( integer $type, integer $hwm )

Protected Methods

Method Description
send ( string $data, float $timeout, boolean $end = false ) : Generator

Method Details

__construct() public method

public __construct ( integer $type, integer $hwm )
$type integer Compression type. Use GZIP or DEFLATE constants defined in this class.
$hwm integer

send() protected method

protected send ( string $data, float $timeout, boolean $end = false ) : Generator
$data string
$timeout float
$end boolean
return Generator