HTTPDecoder

public final class HTTPDecoder<In, Out> : ByteToMessageDecoder, HTTPDecoderDelegate
extension HTTPDecoder: WriteObservingByteToMessageDecoder where In == HTTPClientResponsePart, Out == HTTPClientRequestPart

A ChannelInboundHandler that parses HTTP/1-style messages, converting them from unstructured bytes to a sequence of HTTP messages.

The HTTPDecoder is a generic channel handler which can produce messages in either the form of HTTPClientResponsePart or HTTPServerRequestPart: that is, it produces messages that correspond to the semantic units of HTTP produced by the remote peer.

Available where In == HTTPClientResponsePart, Out == HTTPClientRequestPart