class HttpInflateStream (View source)

Constants

FLUSH_NONE

FLUSH_SYNC

FLUSH_FULL

Methods

__construct(int $flags = null)

(PECL pecl_http >= 1.0.0)
HttpInflateStream class constructor

string|false
update(string $data)

(PECL pecl_http >= 0.21.0)
Update inflate stream

string|false
flush(string $data = null)

(PECL pecl_http >= 0.21.0)
Flush inflate stream

string
finish(string $data = null)

(PECL pecl_http >= 0.21.0)
Finalize inflate stream

factory(int $flags = null, string $class_name = null)

(PECL pecl_http >= 1.4.0)
HttpInflateStream class factory

Details

__construct(int $flags = null)

(PECL pecl_http >= 1.0.0)
HttpInflateStream class constructor

Parameters

int $flags

[optional]

initialization flags

string|false update(string $data)

(PECL pecl_http >= 0.21.0)
Update inflate stream

Parameters

string $data

data to inflate

Return Value

string|false

inflated data on success or false on failure.

string|false flush(string $data = null)

(PECL pecl_http >= 0.21.0)
Flush inflate stream

Parameters

string $data

[optional]

more data to inflate

Return Value

string|false

some inflated data as string on success or false on failure.

string finish(string $data = null)

(PECL pecl_http >= 0.21.0)
Finalize inflate stream

Parameters

string $data

[optional]

data to inflate

Return Value

string

the final part of inflated data.

static HttpInflateStream factory(int $flags = null, string $class_name = null)

(PECL pecl_http >= 1.4.0)
HttpInflateStream class factory

Parameters

int $flags

[optional]

initialization flags

string $class_name

[optional]

name of a subclass of HttpInflateStream

Return Value

HttpInflateStream