gnutls_alpn_get_selected_protocol (3) Linux Manual Page
NAME gnutls_alpn_get_selected_protocol – API function SYNOPSIS #include <gnutls/gnutls.h> int gnutls_alpn_get_selected_protocol(gnutls_session_t session, gnutls_datum_t * protocol); ARGUMENTS gnutls_session_t session is a gnutls_session_t structure. gnutls_datum_t * protocol will hold the protocol name DESCRIPTION This function allows you to get the negotiated protocol name. The returned protocol should be treated as opaque, constant value and only valid during the…
