Sese Framework  x.y.z
A cross-platform framework
载入中...
搜索中...
未找到
Http2Frame.h 文件参考

HTTP 2 帧信息 更多...

#include <cstdint>
#include <memory>

浏览该文件的源代码.

struct  sese::net::http::Http2FrameInfo
 HTTP 2 帧信息 更多...
 
struct  sese::net::http::Http2Frame
 HTTP 2 帧信息(包含缓存) 更多...
 

命名空间

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

变量

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"
 

详细描述

HTTP 2 帧信息

作者
kaoru
版本
0.1
日期
2023年9月13日