|
tinyhttp
|
Http might reply with chunks. So we need to dechunk the data. see https://en.wikipedia.org/wiki/Chunked_transfer_encoding. More...
#include <HttpChunkReader.h>
Public Member Functions | |
| HttpChunkReader () | |
| default constructor | |
| HttpChunkReader (HttpReplyHeader &header) | |
| constructor for processing final header information | |
| int | available () |
| void | open (Client &client) |
| virtual int | read (Client &client, uint8_t *str, int len) |
| virtual int | readln (Client &client, uint8_t *str, int len, bool incl_nl=true) |
Public Member Functions inherited from tinyhttp::HttpLineReader | |
| virtual int | readlnInternal (Stream &client, uint8_t *str, int len, bool incl_nl=true) |
Protected Member Functions | |
| virtual void | readChunkLen (Client &client) |
| void | removeCRLF (Client &client) |
Protected Attributes | |
| bool | has_ended =false |
| HttpReplyHeader * | http_heaer_ptr |
| int | open_chunk_len |
Http might reply with chunks. So we need to dechunk the data. see https://en.wikipedia.org/wiki/Chunked_transfer_encoding.