Module monoio_http::h1::codec::decoder
source · Structs
- Decoder of http1 chunked body.
- Decoder of http1 body with fixed length.
- A wrapper around D(normally RequestHeaderDecoder and ResponseHeaderDecoder). Mainly for extract special headers and return the raw item and payload to satisfy the constraint of
ComposeDecoder
. - Decoder of http1 request header.
- Decoder of http1 response header.
Enums
- NextDecoder maybe None, Fixed or Streamed. Mainly designed for no body, fixed-length body and chunked body. But generally, NextDecoder can be used to represent 0, 1, or more than 1 things to decode.