Set the Next Protocol Negotiation (NPN) selection callback for clients.
Declared in <openssl/ssl.h>
void
SSL_CTX_set_next_proto_select_cb(
SSL_CTX* s,
SSL_CTX_npn_select_cb_func cb,
void* arg);
| Name | Description |
|---|---|
| s | SSL context used by NPN clients. |
| cb | Callback that chooses a protocol from the server list. |
| arg | Opaque pointer passed to cb. |