HTTPRequestDecoder

A ByteToMessageDecoder used to decode HTTP requests. See the documentation on HTTPDecoder for more.

HTTPDecoder.swift:500
typealias HTTPRequestDecoder = HTTPDecoder<HTTPServerRequestPart, HTTPServerResponsePart>

While the HTTPRequestDecoder does not currently have a specific ordering requirement in the ChannelPipeline (unlike HTTPResponseDecoder), it is possible that it will develop one. For that reason, applications should try to ensure that the HTTPRequestDecoder later in the ChannelPipeline than the HTTPResponseEncoder.

Rather than set this up manually, consider using ChannelPipeline.configureHTTPServerPipeline.