Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
WebsocketClient Member List

This is the complete list of members for WebsocketClient, including all inherited members.

activate()WebsocketConnectionprotected
bind(HttpRequest &request, HttpResponse &response)WebsocketConnectionprotected
broadcast(const char *message, size_t length, ws_frame_type_t type=WS_FRAME_TEXT)WebsocketConnectionprotectedstatic
broadcast(const String &message, ws_frame_type_t type=WS_FRAME_TEXT)WebsocketConnectioninlineprotectedstatic
close()WebsocketConnectionprotected
connect(const Url &url, uint32_t sslOptions=0)WebsocketClient
disconnect() SMING_DEPRECATEDWebsocketClientinline
encodeFrame(ws_frame_type_t type, const char *inData, size_t inLength, char *outData, size_t outLength, bool useMask=true, bool isFin=true)WebsocketConnectionprotected
getActiveWebsockets()WebsocketConnectioninlineprotectedstatic
getConnection()WebsocketConnectioninlineprotected
getHttpConnection() (defined in WebsocketClient)WebsocketClient
getState()WebsocketConnectioninlineprotected
getUserData()WebsocketConnectioninlineprotected
onConnected()WebsocketConnectionprotected
operator==(const WebsocketConnection &rhs) const WebsocketConnectioninlineprotected
processFrame(TcpClient &client, char *at, int size)WebsocketConnectionprotected
reset()WebsocketConnectionprotected
send(const char *message, size_t length, ws_frame_type_t type=WS_FRAME_TEXT)WebsocketConnectionprotectedvirtual
send(const String &message, ws_frame_type_t type=WS_FRAME_TEXT)WebsocketConnectioninlineprotected
sendBinary(const uint8_t *data, size_t length)WebsocketConnectioninlineprotected
sendPing(const String &payload=nullptr)WebsocketClientinline
sendPong(const String &payload=nullptr)WebsocketClientinline
sendString(const String &message)WebsocketConnectioninlineprotected
setBinaryHandler(WebsocketBinaryDelegate handler)WebsocketConnectioninlineprotected
setConnection(HttpConnection *connection, bool isClientConnection=true)WebsocketConnectioninlineprotected
setConnectionHandler(WebsocketDelegate handler)WebsocketConnectioninlineprotected
setDisconnectionHandler(WebsocketDelegate handler)WebsocketConnectioninlineprotected
setMessageHandler(WebsocketMessageDelegate handler)WebsocketConnectioninlineprotected
setUserData(void *userData)WebsocketConnectioninlineprotected
state (defined in WebsocketConnection)WebsocketConnectionprotected
staticOnControlBegin(void *userData, ws_frame_type_t type) (defined in WebsocketConnection)WebsocketConnectionprotectedstatic
staticOnControlEnd(void *userData) (defined in WebsocketConnection)WebsocketConnectionprotectedstatic
staticOnControlPayload(void *userData, const char *, size_t length) (defined in WebsocketConnection)WebsocketConnectionprotectedstatic
staticOnDataBegin(void *userData, ws_frame_type_t type) (defined in WebsocketConnection)WebsocketConnectionprotectedstatic
staticOnDataEnd(void *userData) (defined in WebsocketConnection)WebsocketConnectionprotectedstatic
staticOnDataPayload(void *userData, const char *at, size_t length) (defined in WebsocketConnection)WebsocketConnectionprotectedstatic
userData (defined in WebsocketConnection)WebsocketConnectionprotected
verifyKey(HttpConnection &connection, HttpResponse &response) (defined in WebsocketClient)WebsocketClientprotected
WebsocketClient() (defined in WebsocketClient)WebsocketClientinline
WebsocketClient(HttpConnection *connection) (defined in WebsocketClient)WebsocketClientinline
WebsocketConnection(HttpConnection *connection, bool isClientConnection=true)WebsocketConnectionprotected
wsBinary (defined in WebsocketConnection)WebsocketConnectionprotected
wsConnect (defined in WebsocketConnection)WebsocketConnectionprotected
wsDisconnect (defined in WebsocketConnection)WebsocketConnectionprotected
wsMessage (defined in WebsocketConnection)WebsocketConnectionprotected
~WebsocketConnection() (defined in WebsocketConnection)WebsocketConnectioninlineprotectedvirtual