NAME

Protocol::SPDY::Compress - handle zlib compression/decompression

VERSION

version 1.001

SYNOPSIS

use Protocol::SPDY;

DESCRIPTION

Used internally. See Protocol::SPDY instead.

METHODS

new

Instantiate - takes no parameters.

inflater

Returns an inflater object, for decompressing data.

deflater

Returns a deflater object, for compressing data.

decompress

Given a scalar containing bytes, this will return the decompressed contents as a scalar, or raise an exception on failure.

compress

Given a scalar containing bytes, this will return the compressed contents as a scalar, or raise an exception on failure.

AUTHOR

Tom Molesworth <cpan@perlsite.co.uk>

LICENSE

Copyright Tom Molesworth 2011-2015. Licensed under the same terms as Perl itself.