Public Attributes | List of all members
frameData Struct Reference

builds a websocket frame for data transmission More...

Public Attributes

char * wsbuf0
 
size_t wsbuf0len
 

Detailed Description

builds a websocket frame for data transmission

write a websocket header and will mask the payload in all the passed in buffers

Parameters
[in,out]netnetwork connection
[in]opcodewebsocket opcode for the packet
[in]mask_datawhether to mask the data
[in,out]buf0first buffer, will write before this
[in]buf0lensize of first buffer
[in]countnumber of payload buffers
[in,out]buffersarray of payload buffers
[in]buflensarray of payload buffer sizes
[in]freeDataarray indicating to free payload buffers
Returns
amount of data to write to socket

Definition at line 231 of file WebSocket.c.

Member Data Documentation

char* frameData::wsbuf0

Definition at line 232 of file WebSocket.c.

size_t frameData::wsbuf0len

Definition at line 233 of file WebSocket.c.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:49