TlsContext.setAlpnProtocols

TlsContext setAlpnProtocols(string[] protocols) ref pure @safe nothrow @nogc return

Set the ALPN protocol list.

Parameters

protocolsArray of protocol names to negotiate.

Returns

Reference to this context for method chaining.