Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
Http2Frame.h File Reference

HTTP 2 Frame Information. More...

#include <cstdint>
#include <memory>

Go to the source code of this file.

Classes

struct  sese::net::http::Http2FrameInfo
 HTTP 2 Frame Information. More...
 
struct  sese::net::http::Http2Frame
 HTTP 2 Frame Information (including buffer) More...
 

Namespaces

namespace  sese
 
namespace  sese::net
 
namespace  sese::net::http
 

Variables

static constexpr uint8_t sese::net::http::FRAME_FLAG_END_STREAM = 0x1
 
static constexpr uint8_t sese::net::http::FRAME_FLAG_END_HEADERS = 0x4
 
static constexpr uint8_t sese::net::http::FRAME_FLAG_PADDED = 0x8
 
static constexpr uint8_t sese::net::http::FRAME_FLAG_PRIORITY = 0x20
 
static constexpr uint8_t sese::net::http::FRAME_TYPE_DATA = 0x0
 
static constexpr uint8_t sese::net::http::FRAME_TYPE_HEADERS = 0x1
 
static constexpr uint8_t sese::net::http::FRAME_TYPE_PRIORITY = 0x2
 
static constexpr uint8_t sese::net::http::FRAME_TYPE_RST_STREAM = 0x3
 
static constexpr uint8_t sese::net::http::FRAME_TYPE_SETTINGS = 0x4
 
static constexpr uint8_t sese::net::http::FRAME_TYPE_PUSH_PROMISE = 0x5
 
static constexpr uint8_t sese::net::http::FRAME_TYPE_PING = 0x6
 
static constexpr uint8_t sese::net::http::FRAME_TYPE_GOAWAY = 0x7
 
static constexpr uint8_t sese::net::http::FRAME_TYPE_WINDOW_UPDATE = 0x8
 
static constexpr uint8_t sese::net::http::FRAME_TYPE_CONTINUATION = 0x9
 
static constexpr uint8_t sese::net::http::FRAME_TYPE_ALTSVC = 0xa
 
static constexpr uint8_t sese::net::http::FRAME_TYPE_ORIGIN = 0xc
 
static constexpr uint8_t sese::net::http::GOAWAY_NO_ERROR = 0x0
 
static constexpr uint8_t sese::net::http::GOAWAY_PROTOCOL_ERROR = 0x1
 
static constexpr uint8_t sese::net::http::GOAWAY_INTERNAL_ERROR = 0x2
 
static constexpr uint8_t sese::net::http::GOAWAY_FLOW_CONTROL_ERROR = 0x3
 
static constexpr uint8_t sese::net::http::GOAWAY_SETTINGS_TIMEOUT = 0x4
 
static constexpr uint8_t sese::net::http::GOAWAY_STREAM_CLOSED = 0x5
 
static constexpr uint8_t sese::net::http::GOAWAY_FRAME_SIZE_ERROR = 0x6
 
static constexpr uint8_t sese::net::http::GOAWAY_REFUSED_STREAM = 0x7
 
static constexpr uint8_t sese::net::http::GOAWAY_CANCEL = 0x8
 
static constexpr uint8_t sese::net::http::GOAWAY_COMPRESSION_ERROR = 0x9
 
static constexpr uint8_t sese::net::http::GOAWAY_CONNECT_ERROR = 0xa
 
static constexpr uint8_t sese::net::http::GOAWAY_ENHANCE_YOUR_CALM = 0xb
 
static constexpr uint8_t sese::net::http::GOAWAY_INADEQUATE_SECURITY = 0xc
 
static constexpr uint8_t sese::net::http::GOAWAY_HTTP_1_1_REQUIRED = 0xd
 
static constexpr uint16_t sese::net::http::SETTINGS_HEADER_TABLE_SIZE = 0x1
 
static constexpr uint16_t sese::net::http::SETTINGS_ENABLE_PUSH = 0x2
 
static constexpr uint16_t sese::net::http::SETTINGS_MAX_CONCURRENT_STREAMS = 0x3
 
static constexpr uint16_t sese::net::http::SETTINGS_INITIAL_WINDOW_SIZE = 0x4
 
static constexpr uint16_t sese::net::http::SETTINGS_MAX_FRAME_SIZE = 0x5
 
static constexpr uint16_t sese::net::http::SETTINGS_MAX_HEADER_LIST_SIZE = 0x6
 
static constexpr uint8_t sese::net::http::SETTINGS_FLAGS_ACK = 0x1
 
static constexpr auto sese::net::http::MAGIC_STRING = "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n"
 

Detailed Description

HTTP 2 Frame Information.

Author
kaoru
Version
0.1
Date
September 13, 2023