builds a websocket frame for data transmission More...
Public Attributes | |
| char * | wsbuf0 |
| size_t | wsbuf0len |
builds a websocket frame for data transmission
write a websocket header and will mask the payload in all the passed in buffers
| [in,out] | net | network connection |
| [in] | opcode | websocket opcode for the packet |
| [in] | mask_data | whether to mask the data |
| [in,out] | buf0 | first buffer, will write before this |
| [in] | buf0len | size of first buffer |
| [in] | count | number of payload buffers |
| [in,out] | buffers | array of payload buffers |
| [in] | buflens | array of payload buffer sizes |
| [in] | freeData | array indicating to free payload buffers |
Definition at line 231 of file WebSocket.c.
| char* frameData::wsbuf0 |
Definition at line 232 of file WebSocket.c.
| size_t frameData::wsbuf0len |
Definition at line 233 of file WebSocket.c.