HttpDeflateStream
PHP Manual

HttpDeflateStream::finish

(PECL pecl_http >= 0.21.0)

HttpDeflateStream::finishFinalize deflate stream

Description

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

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

Parameters

data

data to deflate

Return Values

Returns the final part of deflated data.


HttpDeflateStream
PHP Manual