downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

HttpInflateStream::__construct> <HttpDeflateStream::update
[edit] Last updated: Fri, 14 Jun 2013

view this page in

Classe HttpInflateStream

(PECL pecl_http >= 0.21.0)

Synopsis de la classe

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 )
}

Membres de la classe

Constantes

Type Nom Description
int FLUSH_NONE pas de flush forcé
int FLUSH_SYNC synchronisation du flush
int FLUSH_FULL flush complet

Note:

Le flush n'a habituellement aucun effet sur les flux décompressés.

Exemples

Exemple #1 Exemple avec HttpInflateStream

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

Sommaire



add a note add a note User Contributed Notes HttpInflateStream - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites