24 using std::unique_ptr;
31 decoder_(HPACK::
kTableSize, maxUncompressed_) {}
58 std::unique_ptr<folly::IOBuf> block,
62 streamingCb->stats =
stats_;
68 stream <<
"DecoderTable:\n" <<
decoder_;
69 stream <<
"EncoderTable:\n" <<
encoder_;
const uint32_t kTableSize
void describe(std::ostream &os) const
std::ostream & operator<<(std::ostream &os, const HeaderTable &table)
constexpr detail::Map< Move > move
requires E e noexcept(noexcept(s.error(std::move(e))))
QPACKEncoder::EncodeResult encode(std::vector< compress::Header > &headers, uint64_t id) noexcept
EncodeResult encode(const std::vector< HPACKHeader > &headers, uint32_t headroom, uint64_t streamId)
std::pair< vector< HPACKHeader >, uint32_t > prepareHeaders(vector< Header > &headers)
void decodeStreaming(uint64_t streamId, std::unique_ptr< folly::IOBuf > block, uint32_t totalBytes, HPACK::StreamingCallback *streamingCb)
std::deque< HeaderPiece > HeaderPieceList
void recordCompressedSize(const QPACKEncoder::EncodeResult &encodeRes)
void decodeStreaming(uint64_t streamId, std::unique_ptr< folly::IOBuf > block, uint32_t length, HPACK::StreamingCallback *streamingCb) noexcept