|
Network System 0.1.1
High-performance modular networking library for scalable client-server applications
|
Represents a decoded WebSocket frame header. More...
#include <websocket_frame.h>

Public Attributes | |
| bool | fin |
| Final fragment flag. | |
| bool | rsv1 |
| Reserved bit 1. | |
| bool | rsv2 |
| Reserved bit 2. | |
| bool | rsv3 |
| Reserved bit 3. | |
| ws_opcode | opcode |
| Operation code. | |
| bool | mask |
| Mask flag. | |
| uint64_t | payload_len |
| Payload length. | |
| std::array< uint8_t, 4 > | masking_key |
| Masking key (if mask == true) | |
Represents a decoded WebSocket frame header.
This structure contains all the header fields from a WebSocket frame according to RFC 6455 section 5.2.
Definition at line 38 of file websocket_frame.h.
| bool kcenon::network::internal::ws_frame_header::fin |
Final fragment flag.
Definition at line 40 of file websocket_frame.h.
| bool kcenon::network::internal::ws_frame_header::mask |
Mask flag.
Definition at line 45 of file websocket_frame.h.
| std::array<uint8_t, 4> kcenon::network::internal::ws_frame_header::masking_key |
Masking key (if mask == true)
Definition at line 47 of file websocket_frame.h.
| ws_opcode kcenon::network::internal::ws_frame_header::opcode |
Operation code.
Definition at line 44 of file websocket_frame.h.
| uint64_t kcenon::network::internal::ws_frame_header::payload_len |
Payload length.
Definition at line 46 of file websocket_frame.h.
| bool kcenon::network::internal::ws_frame_header::rsv1 |
Reserved bit 1.
Definition at line 41 of file websocket_frame.h.
| bool kcenon::network::internal::ws_frame_header::rsv2 |
Reserved bit 2.
Definition at line 42 of file websocket_frame.h.
| bool kcenon::network::internal::ws_frame_header::rsv3 |
Reserved bit 3.
Definition at line 43 of file websocket_frame.h.