A client for the SmartREST protocol from Cumulocity.

Dependencies:   SmartRest

Fork of MbedSmartRest by Vincent Wochnik

Revision:
5:ab909221d22d
Parent:
3:ce2f116369bd
Child:
13:e76920d5e1ec
--- a/MbedClient.h	Mon Jan 27 08:44:55 2014 +0000
+++ b/MbedClient.h	Thu Jan 30 11:11:39 2014 +0000
@@ -9,6 +9,7 @@
 class MbedClient : public AbstractClient {
 public:
     MbedClient(const char*, const char*, const char*);
+    ~MbedClient();
 
     uint8_t beginRequest();
     uint8_t sendIdentifier(const char*);
@@ -21,8 +22,10 @@
 private:
     const char *_url, *_username, *_password;
     HTTPClient _client;
+    HTTPGeneratorWrapper *_generator;
     HTTPBuffer _buffer;
     uint8_t _state;
+    const char *_headers[2];
 };
 
 #endif
\ No newline at end of file