|
Gin
|
WebSocket frame header structure. More...
#include <gin_websocket.h>
Public Types | |
| enum | Opcode { CONTINUATION = 0x0 , TEXT_FRAME = 0x1 , BINARY_FRAME = 0x2 , CLOSE = 8 , PING = 9 , PONG = 0xa } |
Public Attributes | |
| unsigned | header_size |
| bool | fin |
| bool | mask |
| Opcode | opcode |
| int | N0 |
| uint64_t | N |
| uint8_t | masking_key [4] |
WebSocket frame header structure.
Represents the parsed WebSocket frame header according to RFC 6455. Contains frame metadata including opcode, masking information, and payload length.
Frame Types:
| unsigned WSHeaderType::header_size |
| bool WSHeaderType::fin |
| bool WSHeaderType::mask |
| Opcode WSHeaderType::opcode |
| int WSHeaderType::N0 |
| uint64_t WSHeaderType::N |
| uint8_t WSHeaderType::masking_key[4] |