Instance Methodswift-nio 2.86.1NIOHTTP1
userInboundEventTriggered(context:event:)
NIOTypedHTTPServerUpgradeHandler.swift:157- iOS
- 16+
- macOS
- 13+
- tvOS
- 16+
- watchOS
- 9+
func userInboundEventTriggered(context: ChannelHandlerContext, event: Any) func userInboundEventTriggered(context: ChannelHandlerContext, event: Any) s8NIOHTTP132NIOTypedHTTPServerUpgradeHandlerC25userInboundEventTriggered7context5eventy7NIOCore07ChannelE7ContextC_yptF What are these?3VI05import NIOHTTP1final class NIOTypedHTTPServerUpgradeHandler<UpgradeResult> where UpgradeResult : SendableA server-side channel handler that receives HTTP requests and optionally performs an HTTP-upgrade.
final class ChannelHandlerContextEvery ChannelHandler has – when added to a ChannelPipeline – a corresponding ChannelHandlerContext which is the way ChannelHandlers can interact with other ChannelHandlers in the pipeline.
init(httpEncoder: HTTPResponseEncoder, extraHTTPHandlers: [any RemovableChannelHandler], upgradeConfiguration: NIOTypedHTTPServerUpgradeConfiguration<UpgradeResult>) Create a NIOTypedHTTPServerUpgradeHandler.
var upgradeResultFuture: EventLoopFuture<UpgradeResult> { get }The upgrade future which will be completed once protocol upgrading has been done.
func channelRead(context: ChannelHandlerContext, data: NIOAny) func handlerAdded(context: ChannelHandlerContext) func handlerRemoved(context: ChannelHandlerContext) typealias InboundIn = HTTPServerRequestParttypealias InboundOut = HTTPServerRequestParttypealias OutboundOut = HTTPServerResponsePart