HttpDeflateStream::factory
HttpDeflateStream::flush
The HttpDeflateStream class
PHP Manual

# HttpDeflateStream::finish

(PECL pecl_http >= 0.21.0)

HttpDeflateStream::finish — Finalize deflate stream

### Opis

public string HttpDeflateStream::finish ([ string `$data` ] )

Finalizes the deflate stream. The deflate stream can be reused after finalizing.

### Parametry

`data`

  data to deflate

### Zwracane wartości

Returns the final part of deflated data.

HttpDeflateStream::factory
HttpDeflateStream::flush
The HttpDeflateStream class
PHP Manual