17 namespace proxygen {
namespace compress {
42 void recvAck(std::unique_ptr<Ack> )
override {
45 std::pair<FrameFlags, std::unique_ptr<folly::IOBuf>>
encode(
47 std::vector<compress::Header> allHeaders,
61 std::unique_ptr<folly::IOBuf> encodedReq,
68 <<
" header seqn=" << seqn;
69 auto len = cursor.totalLength();
void setDecoderHeaderTableMaxSize(uint32_t size)
void setEncoderHeaderTableSize(uint32_t size)
uint64_t getQueuedBytes() const
constexpr detail::Map< Move > move
void decode(FrameFlags flags, std::unique_ptr< folly::IOBuf > encodedReq, SimStats &stats, SimStreamingCallback &callback) override
HPACKScheme(CompressionSimulator *sim, uint32_t tableSize)
std::unique_ptr< Ack > getAck(uint16_t) override
void enqueueHeaderBlock(uint32_t seqn, std::unique_ptr< folly::IOBuf > block, size_t length, HPACK::StreamingCallback *streamingCb, bool oooOk)
uint32_t getHolBlockCount() const override
uint64_t getHolBlockCount() const
static const NoPathIndexingStrategy * getInstance()
void recvAck(std::unique_ptr< Ack >) override
std::pair< FrameFlags, std::unique_ptr< folly::IOBuf > > encode(bool, std::vector< compress::Header > allHeaders, SimStats &stats) override
uint64_t maxQueueBufferBytes
void trimStart(std::size_t amount)
std::unique_ptr< folly::IOBuf > encode(std::vector< compress::Header > &headers) noexcept
void setHeaderIndexingStrategy(const HeaderIndexingStrategy *indexingStrat)