Robotran C Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Attributes | List of all members
ws_frame_data Struct Reference

WebSocket frame data. More...

Public Attributes

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

Detailed Description

WebSocket frame data.

Member Data Documentation

◆ amt_read

size_t amt_read

Amount of read bytes.

◆ client

ws_cli_conn_t* client

Client connection structure.

◆ cur_pos

size_t cur_pos

Current byte position.

◆ error

int error

Error flag, set when a read was not possible.

◆ frame_size

uint64_t frame_size

Frame size.

◆ frame_type

int frame_type

Frame type, like text or binary.

◆ frm

unsigned char frm[MESSAGE_LENGTH]

Frame read.

◆ msg

unsigned char* msg

Processed message at the moment.

◆ msg_ctrl

unsigned char msg_ctrl[125]

Control frame payload.


The documentation for this struct was generated from the following file: