Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
hpack.h File Reference
#include "kcenon/network/detail/utils/result_types.h"
#include <cstdint>
#include <string>
#include <string_view>
#include <vector>
#include <deque>
#include <optional>
#include <span>
#include <map>
Include dependency graph for hpack.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::network::protocols::http2::http_header
 HTTP header name-value pair. More...
 
class  kcenon::network::protocols::http2::static_table
 HPACK static table (RFC 7541 Appendix A) More...
 
class  kcenon::network::protocols::http2::dynamic_table
 HPACK dynamic table for header compression. More...
 
class  kcenon::network::protocols::http2::hpack_encoder
 HPACK header encoder (RFC 7541) More...
 
class  kcenon::network::protocols::http2::hpack_decoder
 HPACK header decoder (RFC 7541) More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::network
 Main namespace for all Network System components.
 
namespace  kcenon::network::protocols
 
namespace  kcenon::network::protocols::http2
 
namespace  huffman
 Huffman coding for HPACK string compression.
 
namespace  kcenon::network::protocols::http2::huffman
 

Functions

auto kcenon::network::protocols::http2::huffman::encode (std::string_view input) -> std::vector< uint8_t >
 Encode string using Huffman coding.
 
auto kcenon::network::protocols::http2::huffman::decode (std::span< const uint8_t > data) -> Result< std::string >
 Decode Huffman encoded string.
 
auto kcenon::network::protocols::http2::huffman::encoded_size (std::string_view input) -> size_t
 Get encoded size for string.