proxygen
|
#include <QPACKCodec.h>
Protected Attributes | |
QPACKEncoder | encoder_ |
QPACKDecoder | decoder_ |
Protected Attributes inherited from proxygen::HeaderCodec | |
HTTPHeaderSize | encodedSize_ |
uint32_t | encodeHeadroom_ {0} |
uint64_t | maxUncompressed_ {kMaxUncompressed} |
Stats * | stats_ {nullptr} |
Private Member Functions | |
void | recordCompressedSize (const QPACKEncoder::EncodeResult &encodeRes) |
Private Attributes | |
std::vector< HPACKHeader > | decodedHeaders_ |
Additional Inherited Members | |
Public Types inherited from proxygen::HeaderCodec | |
enum | Type : uint8_t { Type::GZIP = 0, Type::HPACK = 1, Type::QPACK = 2 } |
Static Public Attributes inherited from proxygen::HeaderCodec | |
static const uint32_t | kMaxUncompressed = 128 * 1024 |
Definition at line 36 of file QPACKCodec.h.
proxygen::QPACKCodec::QPACKCodec | ( | ) |
Definition at line 29 of file QPACKCodec.cpp.
|
inlineoverride |
Definition at line 39 of file QPACKCodec.h.
References encode(), folly::pushmi::__adl::noexcept(), and uint64_t.
|
inline |
Definition at line 67 of file QPACKCodec.h.
References folly::gen::move.
Referenced by proxygen::compress::QPACKScheme::recvAck().
|
inline |
Definition at line 45 of file QPACKCodec.h.
References folly::gen::move, folly::pushmi::__adl::noexcept(), uint32_t, and uint64_t.
Referenced by proxygen::compress::QPACKScheme::decode().
|
noexcept |
Definition at line 56 of file QPACKCodec.cpp.
References decoder_, proxygen::QPACKDecoder::decodeStreaming(), folly::gen::move, proxygen::HeaderCodec::stats_, and streamID.
Referenced by proxygen::compress::QPACKScheme::decode().
void proxygen::QPACKCodec::describe | ( | std::ostream & | os | ) | const |
Definition at line 67 of file QPACKCodec.cpp.
References decoder_, and encoder_.
Referenced by proxygen::operator<<().
|
noexcept |
Definition at line 47 of file QPACKCodec.cpp.
References proxygen::QPACKEncoder::encode(), proxygen::HeaderCodec::encodedSize_, proxygen::HeaderCodec::encodeHeadroom_, encoder_, proxygen::compress::prepareHeaders(), recordCompressedSize(), and wangle::HTTPHeaderSize::uncompressed.
Referenced by proxygen::compress::QPACKScheme::encode().
|
inline |
Definition at line 86 of file QPACKCodec.h.
|
inline |
Definition at line 82 of file QPACKCodec.h.
Referenced by proxygen::compress::QPACKScheme::getAck().
|
inline |
Definition at line 78 of file QPACKCodec.h.
Referenced by proxygen::compress::QPACKScheme::getAck().
|
inline |
Definition at line 109 of file QPACKCodec.h.
|
inline |
Definition at line 113 of file QPACKCodec.h.
Referenced by proxygen::compress::QPACKScheme::getHolBlockCount().
|
inline |
Definition at line 97 of file QPACKCodec.h.
|
inline |
Definition at line 117 of file QPACKCodec.h.
Referenced by proxygen::compress::QPACKScheme::decode(), and proxygen::compress::QPACKScheme::~QPACKScheme().
|
inline |
Definition at line 74 of file QPACKCodec.h.
|
private |
Definition at line 33 of file QPACKCodec.cpp.
References wangle::HTTPHeaderSize::compressed, proxygen::QPACKEncoder::EncodeResult::control, proxygen::HeaderCodec::encodedSize_, proxygen::HeaderCodec::QPACK, proxygen::HeaderCodec::Stats::recordEncode(), proxygen::HeaderCodec::stats_, and proxygen::QPACKEncoder::EncodeResult::stream.
Referenced by encode().
|
inline |
Definition at line 62 of file QPACKCodec.h.
Referenced by main(), and proxygen::compress::QPACKScheme::QPACKScheme().
|
inline |
Definition at line 58 of file QPACKCodec.h.
Referenced by proxygen::compress::QPACKScheme::QPACKScheme().
|
inline |
Definition at line 106 of file QPACKCodec.h.
Referenced by proxygen::compress::QPACKScheme::QPACKScheme().
|
inline |
Definition at line 125 of file QPACKCodec.h.
Referenced by main(), and proxygen::compress::QPACKScheme::QPACKScheme().
|
inlineoverridevirtual |
Reimplemented from proxygen::HeaderCodec.
Definition at line 92 of file QPACKCodec.h.
|
inline |
Definition at line 121 of file QPACKCodec.h.
Referenced by proxygen::compress::QPACKScheme::QPACKScheme().
|
private |
Definition at line 136 of file QPACKCodec.h.
|
protected |
Definition at line 131 of file QPACKCodec.h.
Referenced by decodeStreaming(), and describe().
|
protected |
Definition at line 130 of file QPACKCodec.h.
Referenced by describe(), and encode().