Go to the source code of this file.
|
| struct | WscState |
| | WebSocket Client State Information, initialize using: WscState wss={0}; however, several members must be set. More...
|
| |
|
| int | wscProtocolHandshake (WscState *wss, U32 tmo, const char *host, const char *path, const char *origin) |
| | Upgrades (morphs) an HTTPS request/response pair to a WebSocket connection. More...
|
| |
| int | wscSendBin (WscState *wss, U8 *buf, int len) |
| | Sends binary data to server. More...
|
| |
| int | wscSendCtrl (WscState *wss, U8 opCode, const U8 *buf, int len) |
| | Sends a WebSocket control frame. More...
|
| |
| int | wscClose (WscState *wss, int statusCode) |
| | Sends a WebSocket close control frame to the server and closes the connection. More...
|
| |
| int | wscRead (WscState *wss, U8 **buf, U32 timeout) |
| | Wait for WebSocket frames sent by the server. More...
|
| |
◆ WSC_DUAL