ChunkInput

Parse hex digits, and use the resultant size to modulate requests for incoming data. A chunk size of 0 terminates the stream, so to read any trailing headers you'll need to provide a delegate handler for receiving those

Constructors

this
this(InputStream stream, Headers headers)

Prime the available chunk size by reading and parsing the first available line

Members

Functions

read
size_t read(void[] dst)

Read content based on a previously parsed chunk size

set
ChunkInput set(InputStream stream)

Reset ChunkInput to a new InputStream

Meta