GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::SPDY::Compressor(3) User Contributed Perl Documentation Net::SPDY::Compressor(3)

Net::SPDY::Compressor - SPDY header compressor

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.

  use Net::SPDY::Compressor;

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

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.

For the actual values refer to the protocol specification.
"DICT"
The initial SPDY compression dictionary.

new
Creates a new compressor instance.
compress STRING
Returns a compressed string.
uncompress STRING
Returns an uncompressed string given a compressed one.

  • <https://developers.google.com/speed/spdy/> -- SPDY project web site
  • <http://www.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3> -- Protocol specification

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 2012, Lubomir Rintel

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

Lubomir Rintel "lkundrak@v3.sk"
2022-04-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.