Function s2n_tls_sys::s2n_get_application_protocol
source · pub unsafe extern "C" fn s2n_get_application_protocol(
conn: *mut s2n_connection
) -> *const c_char
Expand description
Query the connection for the selected application protocol.
@param conn The connection object being queried
@returns The negotiated application protocol for a s2n_connection
. In the event of no protocol being negotiated, NULL is returned.