Module decoder

Source

Structs§

ChannelWrapper
ChunkedBodyDecoder
Decoder of http1 chunked body.
DirectWrapper
FixedBodyDecoder
Decoder of http1 body with fixed length.
GenericDecoder
GenericHeadDecoder
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.
IoOwnedDecoder
RequestHeadDecoder
Decoder of http1 request header.
ResponseHeadDecoder
Decoder of http1 response header.

Enums§

DecodeError
InvalidRequestError
NextDecoder
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.
PayloadDecoder

Traits§

FillPayload
ItemWrapper

Type Aliases§

ClientResponse
ClientResponseDecoder
DirectHeadDecoder
RequestDecoder
ResponseDecoder