HttpDeflateStream
class HttpDeflateStream (View source)
Constants
| TYPE_GZIP |
|
| TYPE_ZLIB |
|
| TYPE_RAW |
|
| LEVEL_DEF |
|
| LEVEL_MIN |
|
| LEVEL_MAX |
|
| STRATEGY_DEF |
|
| STRATEGY_FILT |
|
| STRATEGY_HUFF |
|
| STRATEGY_RLE |
|
| STRATEGY_FIXED |
|
| FLUSH_NONE |
|
| FLUSH_SYNC |
|
| FLUSH_FULL |
|
Methods
__construct(int $flags = null)
(PECL pecl_http >= 0.21.0)
HttpDeflateStream class constructor
string|false
update(string $data)
(PECL pecl_http >= 0.21.0)
Update deflate stream
string|false
flush(string $data = null)
(PECL pecl_http >= 0.21.0)
Flush deflate stream
string
finish(string $data = null)
(PECL pecl_http >= 0.21.0)
Finalize deflate stream
static HttpDeflateStream
factory(int $flags = null, string $class_name = null)
(PECL pecl_http >= 1.4.0)
HttpDeflateStream class factory
Details
__construct(int $flags = null)
(PECL pecl_http >= 0.21.0)
HttpDeflateStream class constructor
string|false
update(string $data)
(PECL pecl_http >= 0.21.0)
Update deflate stream
string|false
flush(string $data = null)
(PECL pecl_http >= 0.21.0)
Flush deflate stream
string
finish(string $data = null)
(PECL pecl_http >= 0.21.0)
Finalize deflate stream
static HttpDeflateStream
factory(int $flags = null, string $class_name = null)
(PECL pecl_http >= 1.4.0)
HttpDeflateStream class factory