|
SharkSSL C/C++ Reference
TLS, cryptography, certificates, and PSA integration
|
#include <MSLib.h>
Data Fields | |
| U8 * | overflowPtr |
| int | overflowLen |
| int | frameHeaderIx |
| U8 * | maskPtr |
| U8 | frameHeader [8] |
| int | frameLen |
| The WebSocket frame length. More... | |
| int | bytesRead |
| Read frame data until: frameLen - bytesRead = 0. More... | |
| U8 | isTimeout |
| Set when function msRead returns due to a timeout. More... | |
The WS protocol is frame based, and struct WssReadState keeps state information for the Minnow Server's MS_read function.
| int WssReadState::bytesRead |
Read frame data until: frameLen - bytesRead = 0.
| U8 WssReadState::frameHeader[8] |
| int WssReadState::frameHeaderIx |
| int WssReadState::frameLen |
The WebSocket frame length.
| U8 WssReadState::isTimeout |
Set when function msRead returns due to a timeout.
| U8* WssReadState::maskPtr |
| int WssReadState::overflowLen |
| U8* WssReadState::overflowPtr |