NativeDtlsEngine.setAlpnProtocols

void setAlpnProtocols(string[] protocols) @safe pure nothrow

Set the ALPN protocol list.

Application-Layer Protocol Negotiation allows the client and server to negotiate which application protocol to use.

Parameters

protocolsList of protocol names in preference order.