Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
hpack.cpp File Reference
#include "internal/protocols/http2/hpack.h"
#include <algorithm>
#include <cstring>
Include dependency graph for hpack.cpp:

Go to the source code of this file.

Namespaces

namespace  kcenon
 
namespace  kcenon::network
 Main namespace for all Network System components.
 
namespace  kcenon::network::protocols
 
namespace  kcenon::network::protocols::http2
 
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.