Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
WebSocket Class Reference

Public Member Functions

 WebSocket (HttpServerConnection *conn)
 
virtual void send (const char *message, int length, wsFrameType type=WS_TEXT_FRAME)
 
void sendString (const String &message)
 
void sendBinary (const uint8_t *data, int size)
 
void enableCommand ()
 
void close ()
 

Protected Member Functions

bool initialize (HttpRequest &request, HttpResponse &response)
 
bool is (HttpServerConnection *conn)
 

Friends

class HttpServer