A HTTP Client for the mbed networking libraries with HTTPFile for use with latest networking stack
Fork of HTTPClient by
An extension of the HTTPClient that adds HTTPFile. Currently on get is support and only works when getting binary files.
HTTPFile data("/local/firm.bin"); HTTPResult r = client.get("https://217.140.101.20/media/uploads/ollie8/firm.bin", &data); if (r == HTTP_OK) { }
Diff: IHTTPData.h
- Revision:
- 13:be61104f4e91
- Parent:
- 10:e1351de84c16
- Child:
- 16:1f743885e7de
--- a/IHTTPData.h Sun Aug 05 15:30:07 2012 +0000 +++ b/IHTTPData.h Sun Aug 05 16:12:10 2012 +0000 @@ -20,6 +20,10 @@ #ifndef IHTTPDATA_H #define IHTTPDATA_H +#include <cstring> + +using std::size_t; + ///This is a simple interface for HTTP data storage (impl examples are Key/Value Pairs, File, etc...) class IHTTPDataOut {