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 M2XStreamClient by
Diff: M2XStreamClient.h
- Revision:
- 14:205076b587fe
- Parent:
- 13:0d574742208f
- Child:
- 15:2610823f7f2e
diff -r 0d574742208f -r 205076b587fe M2XStreamClient.h
--- a/M2XStreamClient.h Tue Dec 09 14:36:16 2014 +0000
+++ b/M2XStreamClient.h Sun Jan 04 05:26:33 2015 +0000
@@ -78,7 +78,8 @@
const char* key,
int case_insensitive = 1,
const char* host = kDefaultM2XHost,
- int port = kDefaultM2XPort);
+ int port = kDefaultM2XPort,
+ const char* path_prefix = NULL);
// Push data stream value using PUT request, returns the HTTP status code
template <class T>
@@ -169,6 +170,7 @@
int _case_insensitive;
const char* _host;
int _port;
+ const char* _path_prefix;
NullPrint _null_print;
// Writes the HTTP header part for updating a stream value
