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>
Http might reply with chunks. So we need to dechunk the data. see https://en.wikipedia.org/wiki/Chunked_transfer_encoding.
◆ HttpChunkReader() [1/2]
tiny_dlna::HttpChunkReader::HttpChunkReader |
( |
| ) |
|
|
inline |
◆ HttpChunkReader() [2/2]
constructor for processing final header information
◆ available()
int tiny_dlna::HttpChunkReader::available |
( |
| ) |
|
|
inline |
◆ open()
void tiny_dlna::HttpChunkReader::open |
( |
Client & |
client | ) |
|
|
inline |
◆ read()
virtual int tiny_dlna::HttpChunkReader::read |
( |
Client & |
client, |
|
|
uint8_t * |
str, |
|
|
int |
len |
|
) |
| |
|
inlinevirtual |
◆ readChunkLen()
virtual void tiny_dlna::HttpChunkReader::readChunkLen |
( |
Client & |
client | ) |
|
|
inlineprotectedvirtual |
◆ readln()
virtual int tiny_dlna::HttpChunkReader::readln |
( |
Client & |
client, |
|
|
uint8_t * |
str, |
|
|
int |
len, |
|
|
bool |
incl_nl = true |
|
) |
| |
|
inlinevirtual |
◆ removeCRLF()
void tiny_dlna::HttpChunkReader::removeCRLF |
( |
Client & |
client | ) |
|
|
inlineprotected |
◆ has_ended
bool tiny_dlna::HttpChunkReader::has_ended = false |
|
protected |
◆ http_heaer_ptr
◆ open_chunk_len
int tiny_dlna::HttpChunkReader::open_chunk_len |
|
protected |
The documentation for this class was generated from the following file: