Lubomir Rintel > Net-SPDY > Net::SPDY::Compressor

Download:
Net-SPDY-0.1_5.tar.gz

Dependencies

Annotate this POD

Module Version: 0.1   Source  

NAME ^

Net::SPDY::Compressor - SPDY header compressor

ALPHA WARNING ^

Please read carefully: This is an ALPHA stage software. In particular this means that even though it probably won't kill your cat, re-elect George W. Bush nor install Solaris 11 Express edition to your hard drive, it is in active development, functionality is missing and no APIs are stable.

See TODO file in the distribution to learn about missing and planned functionality. You are more than welcome to join the development and submit patches with fixes or enhancements. Bug reports are probably not very useful at this point.

SYNOPSIS ^

  use Net::SPDY::Compressor;

  my $compr = new Net::SPDY::Compressor;
  print $compr->uncompress($compr->compress("Hello, World!\n"));

DESCRIPTION ^

Net::SPDY::Compressor provides a convenient way to compress data in a way used by the SPDY protocol.

This, in particular, means, that there are two separate streams (for input and output), streams are synced after each message and the stream is initialized with a dictionary of strings common to web communication.

CONSTANTS ^

For the actual values refer to the protocol specification.

DICT

The initial SPDY compression dictionary.

METHODS ^

new

Creates a new compressor instance.

compress STRING

Returns a compressed string.

uncompress STRING

Returns an uncompressed string given a compressed one.

SEE ALSO ^

CONTRIBUTING ^

Source code for Net::SPDY is kept in a public GIT repository. Visit https://github.com/lkundrak/net-spdy.

Bugs reports and feature enhancement requests are tracked at https://rt.cpan.org/Public/Dist/Display.html?Name=Net::SPDY.

COPYRIGHT ^

Copyright 2012, Lubomir Rintel

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR ^

Lubomir Rintel lkundrak@v3.sk

syntax highlighting: