ALPNStandardProtocolResolver¶
Implements the standard protocol selection akin to the OpenSSL function SSL_select_next_proto.
Implements¶
Constructors¶
create¶
new val create(
supported': Array[ALPNProtocolName] val,
use_client_as_fallback': Bool val = true)
: ALPNStandardProtocolResolver val^
Parameters¶
- supported': Array[ALPNProtocolName] val
- use_client_as_fallback': Bool val = true
Returns¶
Public fields¶
let supported: Array[ALPNProtocolName] val¶
let use_client_as_fallback: Bool val¶
Public Functions¶
resolve¶
Parameters¶
- advertised: Array[ALPNProtocolName] val