Simple IoT Board用のライブラリです。 ESP8266ライブラリの軽量化 送信のみのソフトシリアルライブラリを含んでいます。
Dependents: SITB_HttpGetSample SITB_IFTTTSample SITB_INA226PRC AmbientExampleSITB ... more
IHTTPDataOut Class Reference
This is a simple interface for HTTP data storage (impl examples are Key/Value Pairs, File, etc...) More...
#include <IHTTPData.h>
Inherits IHTTPData.
Inherited by HTTPMap, and HTTPText.
Protected Member Functions | |
virtual void | readReset ()=0 |
Reset stream to its beginning Called by the HTTPClient on each new request. | |
virtual int | read (char *buf, size_t len, size_t *pReadLen)=0 |
Read a piece of data to be transmitted. | |
virtual int | getDataType (char *type, size_t maxTypeLen)=0 |
Get MIME type. | |
virtual bool | getIsChunked ()=0 |
Determine whether the HTTP client should chunk the data Used for Transfer-Encoding header. | |
virtual size_t | getDataLen ()=0 |
If the data is not chunked, get its size Used for Content-Length header. | |
virtual bool | getHeader (char *header, size_t maxHeaderLen) |
Get a specific 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 37 of file IHTTPData.h.
Member Function Documentation
virtual size_t getDataLen | ( | ) | [protected, pure virtual] |
virtual int getDataType | ( | char * | type, |
size_t | maxTypeLen | ||
) | [protected, pure virtual] |
virtual bool getHeader | ( | char * | header, |
size_t | maxHeaderLen | ||
) | [protected, virtual, inherited] |
Get a specific header.
Definition at line 33 of file IHTTPData.h.
virtual bool getIsChunked | ( | ) | [protected, pure virtual] |
virtual int read | ( | char * | buf, |
size_t | len, | ||
size_t * | pReadLen | ||
) | [protected, pure virtual] |
virtual void readReset | ( | ) | [protected, pure virtual] |
Reset stream to its beginning Called by the HTTPClient on each new request.
Generated on Tue Jul 12 2022 18:13:35 by 1.7.2