|
bool | websocketpp::frame::opcode::reserved (value v) |
| Check if an opcode is reserved. More...
|
|
bool | websocketpp::frame::opcode::invalid (value v) |
| Check if an opcode is invalid. More...
|
|
bool | websocketpp::frame::opcode::is_control (value v) |
| Check if an opcode is for a control frame. More...
|
|
bool | websocketpp::frame::get_fin (basic_header const &h) |
| Check whether the frame's FIN bit is set. More...
|
|
void | websocketpp::frame::set_fin (basic_header &h, bool value) |
| Set the frame's FIN bit. More...
|
|
bool | websocketpp::frame::get_rsv1 (const basic_header &h) |
| check whether the frame's RSV1 bit is set More...
|
|
void | websocketpp::frame::set_rsv1 (basic_header &h, bool value) |
| Set the frame's RSV1 bit. More...
|
|
bool | websocketpp::frame::get_rsv2 (const basic_header &h) |
| check whether the frame's RSV2 bit is set More...
|
|
void | websocketpp::frame::set_rsv2 (basic_header &h, bool value) |
| Set the frame's RSV2 bit. More...
|
|
bool | websocketpp::frame::get_rsv3 (const basic_header &h) |
| check whether the frame's RSV3 bit is set More...
|
|
void | websocketpp::frame::set_rsv3 (basic_header &h, bool value) |
| Set the frame's RSV3 bit. More...
|
|
opcode::value | websocketpp::frame::get_opcode (const basic_header &h) |
| Extract opcode from basic header. More...
|
|
bool | websocketpp::frame::get_masked (basic_header const &h) |
| check whether the frame is masked More...
|
|
void | websocketpp::frame::set_masked (basic_header &h, bool value) |
| Set the frame's MASK bit. More...
|
|
uint8_t | websocketpp::frame::get_basic_size (const basic_header &h) |
| Extracts the raw payload length specified in the basic header. More...
|
|
size_t | websocketpp::frame::get_header_len (basic_header const &h) |
| Calculates the full length of the header based on the first bytes. More...
|
|
unsigned int | websocketpp::frame::get_masking_key_offset (const basic_header &h) |
| Calculate the offset location of the masking key within the extended header. More...
|
|
std::string | websocketpp::frame::write_header (basic_header const &, extended_header const &) |
|
masking_key_type | websocketpp::frame::get_masking_key (const basic_header &h, const extended_header &e) |
| Extract the masking key from a frame header. More...
|
|
uint16_t | websocketpp::frame::get_extended_size (const extended_header &e) |
| Extract the extended size field from an extended header. More...
|
|
uint64_t | websocketpp::frame::get_jumbo_size (const extended_header &e) |
| Extract the jumbo size field from an extended header. More...
|
|
uint64_t | websocketpp::frame::get_payload_size (const basic_header &h, const extended_header &e) |
| Extract the full payload size field from a WebSocket header. More...
|
|
size_t | websocketpp::frame::prepare_masking_key (const masking_key_type &key) |
| Extract a masking key into a value the size of a machine word. More...
|
|
size_t | websocketpp::frame::circshift_prepared_key (size_t prepared_key, size_t offset) |
| circularly shifts the supplied prepared masking key by offset bytes More...
|
|
template<typename input_iter , typename output_iter > |
void | websocketpp::frame::byte_mask (input_iter first, input_iter last, output_iter result, masking_key_type const &key, size_t key_offset) |
| Byte by byte mask/unmask. More...
|
|
template<typename iter_type > |
void | websocketpp::frame::byte_mask (iter_type b, iter_type e, masking_key_type const &key, size_t key_offset) |
| Byte by byte mask/unmask (in place) More...
|
|
void | websocketpp::frame::word_mask_exact (uint8_t *input, uint8_t *output, size_t length, const masking_key_type &key) |
| Exact word aligned mask/unmask. More...
|
|
void | websocketpp::frame::word_mask_exact (uint8_t *data, size_t length, const masking_key_type &key) |
| Exact word aligned mask/unmask (in place) More...
|
|
size_t | websocketpp::frame::word_mask_circ (uint8_t *input, uint8_t *output, size_t length, size_t prepared_key) |
| Circular word aligned mask/unmask. More...
|
|
size_t | websocketpp::frame::word_mask_circ (uint8_t *data, size_t length, size_t prepared_key) |
| Circular word aligned mask/unmask (in place) More...
|
|
std::string | websocketpp::frame::prepare_header (const basic_header &h, const extended_header &e) |
| Generate a properly sized contiguous string that encodes a full frame header. More...
|
|
size_t | websocketpp::frame::byte_mask_circ (uint8_t *input, uint8_t *output, size_t length, size_t prepared_key) |
| Circular byte aligned mask/unmask. More...
|
|
size_t | websocketpp::frame::byte_mask_circ (uint8_t *data, size_t length, size_t prepared_key) |
| Circular byte aligned mask/unmask (in place) More...
|
|