Type Aliasswift-nio 2.81.0NIOHTTP1
InboundIn
HTTPServerPipelineHandler.swift:45typealias InboundIn = HTTPServerRequestPart
typealias InboundIn = HTTPServerRequestPart
import NIOHTTP1
final class HTTPServerPipelineHandler
A ChannelHandler
that handles HTTP pipelining by buffering inbound data until a response has been sent.
typealias HTTPServerRequestPart = HTTPPart<HTTPRequestHead, ByteBuffer>
The components of a HTTP request from the view of a HTTP server.
init()
func channelInactive(context: ChannelHandlerContext)
func channelRead(context: ChannelHandlerContext, data: NIOAny)
func close(context: ChannelHandlerContext, mode: CloseMode, promise: EventLoopPromise<Void>?)
func errorCaught(context: ChannelHandlerContext, error: Error)
func handlerRemoved(context: ChannelHandlerContext)
func read(context: ChannelHandlerContext)
func userInboundEventTriggered(context: ChannelHandlerContext, event: Any)
func write(context: ChannelHandlerContext, data: NIOAny, promise: EventLoopPromise<Void>?)
struct ConnectionStateError
typealias InboundOut = HTTPServerRequestPart
typealias OutboundIn = HTTPServerResponsePart
typealias OutboundOut = HTTPServerResponsePart