Simple websocket client based on the original with a few added features such as: - setBaud() - set the baud rate for the communication - Initialize() - mimics the constructor - chaged read() to readmsg() to avoid confusion with other functions
Dependents: IoT_Ex BatteryModelTester BatteryModelTester
Fork of WebSocketClient by
Diff: Websocket.h
- Revision:
- 11:85bff70bab45
- Parent:
- 6:86e89a0369b9
- Child:
- 13:152b70450615
diff -r fc40c56e8a3c -r 85bff70bab45 Websocket.h --- a/Websocket.h Wed Mar 30 09:05:44 2016 +0000 +++ b/Websocket.h Wed Mar 30 10:40:05 2016 +0000 @@ -74,6 +74,8 @@ * @param url The Websocket url in the form "ws://ip_domain[:port]/path" (by default: port = 80) */ Websocket(char * url); + Websocket(); + void Initialize(char * url); /** * Connect to the websocket url