Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-os by
IHTTPDataIn Class Reference
This is a simple interface for HTTP data storage (impl examples are Key/Value Pairs, File, etc...) More...
#include <IHTTPData.h>
Inherited by HTTPText, and HTTPText.
Protected Member Functions | |
virtual void | writeReset ()=0 |
Reset stream to its beginning Called by the HTTPClient on each new request. | |
virtual int | write (const char *buf, size_t len)=0 |
Write a piece of data transmitted by the server. | |
virtual void | setDataType (const char *type)=0 |
Set MIME type. | |
virtual void | setIsChunked (bool chunked)=0 |
Determine whether the data is chunked Recovered from Transfer-Encoding header. | |
virtual void | setDataLen (size_t len)=0 |
If the data is not chunked, set its size From Content-Length header. | |
virtual int | write (const char *buf, size_t len)=0 |
Write a piece of data transmitted by the server. | |
virtual void | setDataType (const char *type)=0 |
Set MIME type. | |
virtual void | setIsChunked (bool chunked)=0 |
Determine whether the data is chunked Recovered from Transfer-Encoding header. | |
virtual void | setDataLen (size_t len)=0 |
If the data is not chunked, set its size From Content-Length header. | |
Friends | |
class | HTTPClient |
Detailed Description
This is a simple interface for HTTP data storage (impl examples are Key/Value Pairs, File, etc...)
Definition at line 63 of file cellular/http/common/HTTPClient/IHTTPData.h.
Member Function Documentation
virtual void setDataLen | ( | size_t | len ) | [protected, pure virtual] |
virtual void setDataLen | ( | size_t | len ) | [protected, pure virtual] |
virtual void setDataType | ( | const char * | type ) | [protected, pure virtual] |
virtual void setDataType | ( | const char * | type ) | [protected, pure virtual] |
virtual void setIsChunked | ( | bool | chunked ) | [protected, pure virtual] |
virtual void setIsChunked | ( | bool | chunked ) | [protected, pure virtual] |
virtual int write | ( | const char * | buf, |
size_t | len | ||
) | [protected, pure virtual] |
virtual int write | ( | const char * | buf, |
size_t | len | ||
) | [protected, pure virtual] |
virtual void writeReset | ( | ) | [protected, pure virtual] |
Reset stream to its beginning Called by the HTTPClient on each new request.
Implemented in HTTPText.
Generated on Tue Jul 12 2022 13:16:51 by
