Skip to main content

Module chunk

Module chunk 

Source

Structsยง

ChunkedReader
Decodes an HTTP/1.1 chunked body from the inner reader. Trailers (if any) are populated into trailers after EOF is reached.
ChunkedWriter
Encodes data written to it into HTTP/1.1 chunked transfer encoding. Call finish() to write the terminal 0\r\n\r\n.