Instance Propertyswift-nio 2.72.0NIOHTTP1
notUpgradingCompletionHandler
A closure that is run once it is determined that no protocol upgrade is happening. This can be used to configure handlers that expect HTTP.
NIOTypedHTTPServerUpgradeHandler.swift:56- iOS
- 16+
- macOS
- 13+
- tvOS
- 16+
- watchOS
- 9+
var notUpgradingCompletionHandler: (Channel) -> EventLoopFuture<UpgradeResult>
Other members in extension
Type members
init(upgraders: [any NIOTypedHTTPServerProtocolUpgrader<UpgradeResult>], notUpgradingCompletionHandler: @escaping (Channel) -> EventLoopFuture<UpgradeResult>
)
Instance members
var upgraders: [any NIOTypedHTTPServerProtocolUpgrader<UpgradeResult>]
The array of potential upgraders.