HTTP/HTTPS Client Library for the X-NUCLEO-IDW01M1v2 wifi board.
Dependents: HTTPClient_HelloWorld_IDW01M1 wifigianluigi HTTPClient_HelloWorld_IDW01M1_Fabio_Ricezione
Fork of HTTPClient by
Diff: IHTTPData.h
- Revision:
- 17:679e15a3d3db
- Parent:
- 16:1f743885e7de
--- a/IHTTPData.h Thu Aug 30 15:38:57 2012 +0000
+++ b/IHTTPData.h Fri May 02 13:13:39 2014 +0000
@@ -24,8 +24,17 @@
using std::size_t;
+class IHTTPData
+{
+ protected:
+ /** Get a specific header
+ *
+ */
+ virtual bool getHeader(char* header, size_t maxHeaderLen) { return false; }
+};
+
///This is a simple interface for HTTP data storage (impl examples are Key/Value Pairs, File, etc...)
-class IHTTPDataOut
+class IHTTPDataOut : public IHTTPData
{
protected:
friend class HTTPClient;
@@ -60,7 +69,7 @@
};
///This is a simple interface for HTTP data storage (impl examples are Key/Value Pairs, File, etc...)
-class IHTTPDataIn
+class IHTTPDataIn : public IHTTPData
{
protected:
friend class HTTPClient;
