HTTPRequestEncoder

public final class HTTPRequestEncoder : ChannelOutboundHandler

A ChannelOutboundHandler that can serialize HTTP requests.

This channel handler is used to translate messages from a series of HTTPClientRequestPart into the HTTP/1.1 wire format.

  • Undocumented

    Declaration

    Swift

    public init()
  • Declaration

    Swift

    public func write(ctx: ChannelHandlerContext, data: NIOAny, promise: EventLoopPromise<Void>?)