HTTP Client data container for form(multipart/form-data)
Dependencies: mbed EthernetInterface HTTPClient mbed-rtos
HTTPNull.h
00001 /* HTTPNull.h */ 00002 #ifndef HTTPNULL_H_ 00003 #define HTTPNULL_H_ 00004 00005 #include "../IHTTPData.h" 00006 00007 class HTTPNull : public IHTTPDataIn 00008 { 00009 public: 00010 HTTPNull(); 00011 protected: 00012 //IHTTPDataIn 00013 virtual int write(const char* buf, size_t len); 00014 virtual void setDataType(const char* type); //Internet media type from Content-Type header 00015 virtual void setIsChunked(bool chunked); //From Transfer-Encoding header 00016 virtual void setDataLen(size_t len); //From Content-Length header, or if the transfer is chunked, next chunk length 00017 }; 00018 00019 #endif // HTTPNULL_H_
Generated on Wed Jul 13 2022 04:23:07 by 1.7.2