modified for Doug Ansons ThermostatDemo: single change that turns off the debugging information by default.

Dependents:   df-2013-thermostat-handson df-2013-minihack-thermostat-complete df-2013-minihack-thermostat df-2013-thermostat-remotes

Fork of WebSocketClient by Doug Anson

Revision:
3:9589afa4712e
Parent:
0:10b6eaafc2da
Child:
4:466f90b7849a
--- a/Websocket.h	Mon Aug 13 09:37:35 2012 +0000
+++ b/Websocket.h	Wed Aug 15 16:24:20 2012 +0000
@@ -137,8 +137,8 @@
         
         TCPSocketConnection socket;
 
-        int read(char * buf, int len, bool block = true);
-        int write(char * buf, int len, uint32_t timeout=5000);
+        int read(char * buf, int len, int min_len = -1);
+        int write(char * buf, int len);
 };
 
 #endif