Instance Methodswift-nio 2.81.0NIOHTTP1
userInboundEventTriggered(context:event:)
HTTPServerPipelineHandler.swift:355func userInboundEventTriggered(context: ChannelHandlerContext, event: Any)
func userInboundEventTriggered(context: ChannelHandlerContext, event: Any)
s8NIOHTTP125HTTPServerPipelineHandlerC25userInboundEventTriggered7context5eventy7NIOCore07ChannelD7ContextC_yptF
What are these?64MCW
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 handlerRemoved(context: ChannelHandlerContext)
func read(context: ChannelHandlerContext)
func write(context: ChannelHandlerContext, data: NIOAny, promise: EventLoopPromise<Void>?)
struct ConnectionStateError
typealias InboundIn = HTTPServerRequestPart
typealias InboundOut = HTTPServerRequestPart
typealias OutboundIn = HTTPServerResponsePart
typealias OutboundOut = HTTPServerResponsePart