Seastar
High performance C++ framework for concurrent servers
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
seastar::experimental::websocket::frame_header Struct Reference

Public Member Functions

 frame_header (const char *input)
 
uint64_t get_rest_of_header_length ()
 
uint8_t get_fin ()
 
uint8_t get_rsv1 ()
 
uint8_t get_rsv2 ()
 
uint8_t get_rsv3 ()
 
uint8_t get_opcode ()
 
uint8_t get_masked ()
 
uint8_t get_length ()
 
bool is_opcode_known ()
 

Public Attributes

uint8_t fin: 1
 
uint8_t rsv1: 1
 
uint8_t rsv2: 1
 
uint8_t rsv3: 1
 
uint8_t opcode: 4
 
uint8_t masked: 1
 
uint8_t length: 7
 

Static Public Attributes

static constexpr uint8_t FIN = 7
 
static constexpr uint8_t RSV1 = 6
 
static constexpr uint8_t RSV2 = 5
 
static constexpr uint8_t RSV3 = 4
 
static constexpr uint8_t MASKED = 7
 

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