A client for the SmartREST protocol from Cumulocity.

Dependencies:   HTTPClient SmartRest

Revision:
4:0eb69392686f
Parent:
3:ce2f116369bd
Child:
10:478414cc15a4
--- a/HTTPBuffer.h	Fri Jan 24 21:05:24 2014 +0000
+++ b/HTTPBuffer.h	Mon Jan 27 08:44:55 2014 +0000
@@ -7,8 +7,8 @@
 
 #define HTTPBUFFER_INITIAL_SIZE 128
 #define HTTPBUFFER_INCREMENT 64
-
-class HTTPBuffer : public HTTPDataIn, public AbstractDataSource
+static int x = 123;
+class HTTPBuffer : public IHTTPDataIn, public AbstractDataSource
 {
 public:
     HTTPBuffer();
@@ -16,9 +16,10 @@
 
     char read();
     uint8_t status();
+    
+    void writeReset();
 
 protected:
-    void writeReset();
     int write(const char* buf, size_t len);
     void setDataType(const char* type);
     void setIsChunked(bool chunked);