Sese Framework
2.3.0
A cross-platform framework
|
HTTP 2 Frame Information (including buffer) More...
#include <Http2Frame.h>
Public Types | |
using | Ptr = std::unique_ptr<Http2Frame> |
Public Member Functions | |
Http2Frame (size_t frame_size) | |
char * | getFrameBuffer () const |
size_t | getFrameLength () const |
char * | getFrameContentBuffer () const |
size_t | getFrameContentLength () const |
void | buildFrameHeader () const |
Build frame header based on existing information. | |
Public Attributes | |
uint32_t | length |
uint8_t | type |
uint8_t | flags |
uint32_t | ident |
std::unique_ptr< char[]> | frame |
HTTP 2 Frame Information (including buffer)
using sese::net::http::Http2Frame::Ptr = std::unique_ptr<Http2Frame> |
|
explicit |
void Http2Frame::buildFrameHeader | ( | ) | const |
Build frame header based on existing information.
References flags, getFrameBuffer(), ident, length, ToBigEndian32(), and type.
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
uint8_t sese::net::http::Http2Frame::flags |
Referenced by buildFrameHeader().
std::unique_ptr<char []> sese::net::http::Http2Frame::frame |
Referenced by getFrameBuffer(), and getFrameContentBuffer().
uint32_t sese::net::http::Http2Frame::ident |
Referenced by buildFrameHeader().
uint32_t sese::net::http::Http2Frame::length |
Referenced by buildFrameHeader(), getFrameContentLength(), and getFrameLength().
uint8_t sese::net::http::Http2Frame::type |
Referenced by buildFrameHeader().