Type Aliasswift-nio 2.86.1NIOHTTP1
InboundOut
NIOTypedHTTPServerUpgradeHandler.swift:82- iOS
- 16+
- macOS
- 13+
- tvOS
- 16+
- watchOS
- 9+
typealias InboundOut = HTTPServerRequestParttypealias InboundOut = HTTPServerRequestParts8NIOHTTP132NIOTypedHTTPServerUpgradeHandlerC10InboundOuta What are these?2TTFXimport NIOHTTP1final class NIOTypedHTTPServerUpgradeHandler<UpgradeResult> where UpgradeResult : SendableA server-side channel handler that receives HTTP requests and optionally performs an HTTP-upgrade.
typealias HTTPServerRequestPart = HTTPPart<HTTPRequestHead, ByteBuffer>The components of a HTTP request from the view of a HTTP server.
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) func userInboundEventTriggered(context: ChannelHandlerContext, event: Any) typealias InboundIn = HTTPServerRequestParttypealias OutboundOut = HTTPServerResponsePart