HttpDeflateStream
PHP Manual

HttpDeflateStream::factory

(PECL pecl_http >= 1.4.0)

HttpDeflateStream::factoryHttpDeflateStream class factory

Description

static public HttpDeflateStream HttpDeflateStream::factory ([ int $flags = 0 [, string $class_name = "HttpDeflateStream" ]] )

Creates a new HttpDeflateStream object instance.

See the deflate stream constants table for possible flags.

Parameters

flags

initialization flags

class_name

name of a subclass of HttpDeflateStream

See Also


HttpDeflateStream
PHP Manual