NativeDtlsEngine.alpnProtocol

string alpnProtocol(const DtlsPeerState state) const @safe

Get the negotiated ALPN protocol for a peer.

Parameters

stateThe peer state.

Returns

The ALPN protocol name, or empty string.