(PECL pecl_http >= 0.21.0)
Type | Name | Description |
---|---|---|
int | FLUSH_NONE | no forced flush |
int | FLUSH_SYNC | synching flush |
int | FLUSH_FULL | full flush |
Nota:
Flushing usually has no effect on inflate streams.
Example #1 A HttpInflateStream example
<?php
$stream = new HttpInflateStream;
echo $stream->update($data);
echo $stream->finish();
?>