Instance Methodswift-nio 2.81.0NIOHTTP1
handlerRemoved(context:)
HTTPServerPipelineHandler.swift:484func handlerRemoved(context: ChannelHandlerContext)
func handlerRemoved(context: ChannelHandlerContext)
s8NIOHTTP125HTTPServerPipelineHandlerC14handlerRemoved7contexty7NIOCore07ChannelD7ContextC_tF
What are these?718DT
import NIOHTTP1
final class HTTPServerPipelineHandler
A ChannelHandler
that handles HTTP pipelining by buffering inbound data until a response has been sent.
final class ChannelHandlerContext
Every ChannelHandler
has – when added to a ChannelPipeline
– a corresponding ChannelHandlerContext
which is the way ChannelHandler
s can interact with other ChannelHandler
s in the pipeline.
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 read(context: ChannelHandlerContext)
func userInboundEventTriggered(context: ChannelHandlerContext, event: Any)
func write(context: ChannelHandlerContext, data: NIOAny, promise: EventLoopPromise<Void>?)
struct ConnectionStateError
typealias InboundIn = HTTPServerRequestPart
typealias InboundOut = HTTPServerRequestPart
typealias OutboundIn = HTTPServerResponsePart
typealias OutboundOut = HTTPServerResponsePart