|
PionNetworkLibrary
|
#include <decompressor.hpp>
Public Types | |
| enum | data_size_t { MAX_UNCOMPRESSED_DATA_BUF_SIZE = 16384 } |
| data size constants More... | |
Public Member Functions | |
| decompressor () | |
| constructs a new decompressor object (default constructor) More... | |
| ~decompressor () | |
| destructor More... | |
| char * | decompress (const char *compressed_data_ptr, boost::uint32_t stream_id, const spdy_control_frame_info &frame, boost::uint32_t header_block_length) |
Protected Member Functions | |
| bool | spdy_decompress_header (const char *compressed_data_ptr, z_streamp decomp, boost::uint32_t length, boost::uint32_t &uncomp_length) |
SPDYDecompressor : Decompresses SPDY frames
| pion::spdy::decompressor::decompressor | ( | ) |
constructs a new decompressor object (default constructor)
| pion::spdy::decompressor::~decompressor | ( | ) |
destructor
| char * pion::spdy::decompressor::decompress | ( | const char * | compressed_data_ptr, |
| boost::uint32_t | stream_id, | ||
| const spdy_control_frame_info & | frame, | ||
| boost::uint32_t | header_block_length | ||
| ) |
decompresses the http content
Get our decompressor.
References spdy_decompress_header(), SPDY_HEADERS, SPDY_SYN_REPLY, SPDY_SYN_STREAM, and pion::spdy::spdy_control_frame_info::type.
|
protected |
decompresses the spdy header
References MAX_UNCOMPRESSED_DATA_BUF_SIZE.
Referenced by decompress().