|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
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. | |
HTTP2 header field with decoding buffer.
| uint8_t http_hpack_header_buf::buf[HTTP_SERVER_HUFFMAN_DECODE_BUFFER_SIZE] |
Encoding/Decoding buffer.
Used with Huffman encoding/decoding.
| size_t http_hpack_header_buf::datalen |
Length of the data in the decoding buffer.
| const char* http_hpack_header_buf::name |
A pointer to the decoded header field name.
| size_t http_hpack_header_buf::name_len |
Length of the decoded header field name.
| 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.
| uint32_t http_hpack_header_buf::table_size |
Dynamic table size requested by a size update entry.
| enum http_hpack_entry_type http_hpack_header_buf::type |
Kind of the entry decoded last.
| const char* http_hpack_header_buf::value |
A pointer to the decoded header field value.
| size_t http_hpack_header_buf::value_len |
Length of the decoded header field value.