Core/RestCalls/Compression/GZipCompressor.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\GZipCompressor

Package: Default
GZip compressor.
Parent(s)
\ICompressor
Inherited_from
\ICompressor  

Constants

>VConstant  DataCompressionFormat = \DataCompressionFormat::GZip
>VConstant  DataCompressionFormat = \DataCompressionFormat::None

Methods

methodpublicCompress( $curl_headers,  $requestBody) : void

Compresses the input byte array into stream.

Parameters
NameTypeDescription
$curl_headers
$requestBody
methodpublicCompress( $curl_headers,  $requestBody) : void
abstractinherited

Compresses the input byte array into stream.

Inherited from:
Parameters
NameTypeDescription
$curl_headers
$requestBody
methodpublicDecompress( $responseBody,  $response_headers) : \Decompressed

Decompresses the output response stream.

Parameters
NameTypeDescription
$responseBody

Response body.

$response_headers

Response headers

Returns
TypeDescription
\Decompressedresponse body.
methodpublicDecompress( $responseBody,  $response_headers) : \Decompressed
abstractinherited

Decompresses the output response stream.

Inherited from:
Parameters
NameTypeDescription
$responseBody

Response body.

$response_headers

Response headers

Returns
TypeDescription
\Decompressedresponse body.
methodpublicPrepareDecompress( $curl_headers) : void

Prepares a request header that requests compressed output

Parameters
NameTypeDescription
$curl_headers
methodpublicPrepareDecompress( $curl_headers) : void
abstractinherited

Prepares a request header that requests compressed output

Inherited from:
Parameters
NameTypeDescription
$curl_headers
Documentation was generated by phpDocumentor 2.8.5.