HTTP Client data container for form(multipart/form-data)
Dependencies: mbed EthernetInterface HTTPClient mbed-rtos
HTTPNull.h
- Committer:
- va009039
- Date:
- 2012-08-28
- Revision:
- 1:77c616a1ab54
File content as of revision 1:77c616a1ab54:
/* HTTPNull.h */ #ifndef HTTPNULL_H_ #define HTTPNULL_H_ #include "../IHTTPData.h" class HTTPNull : public IHTTPDataIn { public: HTTPNull(); protected: //IHTTPDataIn virtual int write(const char* buf, size_t len); virtual void setDataType(const char* type); //Internet media type from Content-Type header virtual void setIsChunked(bool chunked); //From Transfer-Encoding header virtual void setDataLen(size_t len); //From Content-Length header, or if the transfer is chunked, next chunk length }; #endif // HTTPNULL_H_