The HttpDeflateStream class
PHP Manual

HttpDeflateStream::factory

(PECL pecl_http >= 1.4.0)

HttpDeflateStream::factoryHttpDeflateStream class factory

说明

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.

参数

flags

initialization flags

class_name

name of a subclass of HttpDeflateStream

参见


The HttpDeflateStream class
PHP Manual