NativeCrypto.setApplicationProtocolSelector

Called for a server endpoint only. Enables ALPN and sets a BiFunction that will be called to delegate protocol selection to the application. Calling this method overrides {@link #setApplicationProtocols(long, NativeSsl, bool, byte[])}.

class NativeCrypto
static
void
setApplicationProtocolSelector

Meta