Instance Propertyswift-nio 2.86.1NIOHTTP1

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.

NIOTypedHTTPClientUpgradeHandler.swift:54
iOS
16+
macOS
13+
tvOS
16+
watchOS
9+
var notUpgradingCompletionHandler: (any Channel) -> EventLoopFuture<UpgradeResult>