ws_frame_data struct
#include <src/ws.c>

WebSocket frame data.

Contents

Public variables

unsigned char frm
Frame read.
unsigned char* msg
Processed message at the moment.
unsigned char msg_ctrl
Control frame payload.
size_t cur_pos
Current byte position.
size_t amt_read
Amount of read bytes.
int frame_type
Frame type, like text or binary.
uint64_t frame_size
Frame size.
int error
Error flag, set when a read was not possible.
ws_cli_conn_t* client
Client connection structure.