init(alpnCompleteHandler:)

Create an ApplicationProtocolNegotiationHandler with the given completion callback.

NIOTypedApplicationProtocolNegotiationHandler.swift:80
convenience init(alpnCompleteHandler: @escaping (ALPNResult) -> EventLoopFuture<NegotiationResult>)

Parameters

alpnCompleteHandler

The closure that will fire when ALPN negotiation has completed.