update : 2015.11.03
php.shukuma.com

검색:
 
 
The HttpInflateStream class

The HttpInflateStream class

(PECL pecl_http >= 0.21.0)

클래스 개요

HttpInflateStream {
public __construct ([ int $flags = 0 ] )
public HttpInflateStream factory ([ int $flags = 0 [, string $class_name = "HttpInflateStream" ]] )
public string finish ([ string $data ] )
public string flush ([ string $data ] )
public string update ( string $data )
}

Class Members

Constants

Type Name Description
int FLUSH_NONE no forced flush
int FLUSH_SYNC synching flush
int FLUSH_FULL full flush

Note:

Flushing usually has no effect on inflate streams.

예제

Example #1 A HttpInflateStream example

<?php
$stream 
= new HttpInflateStream;
echo 
$stream->update($data);
echo 
$stream->finish();
?>

Table of Contents