Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of WebSocketClient by
Diff: Websocket.h
- Revision:
- 3:9589afa4712e
- Parent:
- 0:10b6eaafc2da
- Child:
- 4:466f90b7849a
diff -r b390f29fb5fa -r 9589afa4712e Websocket.h
--- 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
