The constant size component of a WebSocket frame header. More...
#include <frame.hpp>
Public Member Functions | |
basic_header () | |
basic_header (uint8_t p0, uint8_t p1) | |
basic_header (opcode::value op, uint64_t size, bool fin, bool mask, bool rsv1=false, bool rsv2=false, bool rsv3=false) | |
Public Attributes | |
uint8_t | b0 |
uint8_t | b1 |
|
inline |
|
inline |
Definition at line 194 of file frame.hpp.
References websocketpp::frame::BHB0_FIN, websocketpp::frame::BHB0_OPCODE, websocketpp::frame::BHB0_RSV1, websocketpp::frame::BHB0_RSV2, websocketpp::frame::BHB0_RSV3, websocketpp::frame::BHB1_MASK, websocketpp::frame::limits::payload_size_basic, websocketpp::frame::payload_size_code_16bit, websocketpp::frame::payload_size_code_64bit, websocketpp::frame::limits::payload_size_extended, websocketpp::frame::opcode::rsv3, and nonstd::span_lite::size().
uint8_t websocketpp::frame::basic_header::b0 |
Definition at line 230 of file frame.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), websocketpp::processor::hybi13< stub_config >::copy_basic_header_bytes(), websocketpp::frame::get_fin(), websocketpp::frame::get_opcode(), websocketpp::frame::get_rsv1(), websocketpp::frame::get_rsv2(), websocketpp::frame::get_rsv3(), websocketpp::frame::prepare_header(), websocketpp::processor::hybi13< stub_config >::reset_headers(), websocketpp::frame::set_fin(), websocketpp::frame::set_rsv1(), websocketpp::frame::set_rsv2(), and websocketpp::frame::set_rsv3().
uint8_t websocketpp::frame::basic_header::b1 |
Definition at line 231 of file frame.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), websocketpp::processor::hybi13< stub_config >::copy_basic_header_bytes(), websocketpp::frame::get_basic_size(), websocketpp::frame::get_masked(), websocketpp::frame::prepare_header(), websocketpp::processor::hybi13< stub_config >::reset_headers(), and websocketpp::frame::set_masked().