Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
http_hpack_header_buf Struct Reference

HTTP2 header field with decoding buffer. More...

#include <zephyr/net/http/hpack.h>

Data Fields

enum http_hpack_entry_type type
 Kind of the entry decoded last.
uint32_t table_size
 Dynamic table size requested by a size update entry.
bool oversized
 Whether a string of the field was larger than the decoding buffer and was dropped.
const char * name
 A pointer to the decoded header field name.
const char * value
 A pointer to the decoded header field value.
size_t name_len
 Length of the decoded header field name.
size_t value_len
 Length of the decoded header field value.
uint8_t buf [HTTP_SERVER_HUFFMAN_DECODE_BUFFER_SIZE]
 Encoding/Decoding buffer.
size_t datalen
 Length of the data in the decoding buffer.

Detailed Description

HTTP2 header field with decoding buffer.

Field Documentation

◆ buf

uint8_t http_hpack_header_buf::buf[HTTP_SERVER_HUFFMAN_DECODE_BUFFER_SIZE]

Encoding/Decoding buffer.

Used with Huffman encoding/decoding.

◆ datalen

size_t http_hpack_header_buf::datalen

Length of the data in the decoding buffer.

◆ name

const char* http_hpack_header_buf::name

A pointer to the decoded header field name.

◆ name_len

size_t http_hpack_header_buf::name_len

Length of the decoded header field name.

◆ oversized

bool http_hpack_header_buf::oversized

Whether a string of the field was larger than the decoding buffer and was dropped.

The entry is consumed, but the field is not usable.

◆ table_size

uint32_t http_hpack_header_buf::table_size

Dynamic table size requested by a size update entry.

◆ type

enum http_hpack_entry_type http_hpack_header_buf::type

Kind of the entry decoded last.

◆ value

const char* http_hpack_header_buf::value

A pointer to the decoded header field value.

◆ value_len

size_t http_hpack_header_buf::value_len

Length of the decoded header field value.


The documentation for this struct was generated from the following file: