pub unsafe extern "C" fn s2n_get_application_protocol(
conn: *mut s2n_connection
) -> *const i8
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.