Initializerswift-nio 2.84.0NIOTLS
init(alpnCompleteHandler:)
Create an ApplicationProtocolNegotiationHandler
with the given completion callback.
convenience init(alpnCompleteHandler: @escaping (ALPNResult) -> EventLoopFuture<NegotiationResult>)
Parameters
- alpnCompleteHandler
The closure that will fire when ALPN negotiation has completed.