http
PHP Manual

HttpDeflateStream::factory

(PECL pecl_http:1.4.0-1.5.5)

HttpDeflateStream::factory — HttpDeflateStream class factory

Description

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


http
PHP Manual