Function esp_idf_sys::mbedtls_ssl_get_alpn_protocol

source ยท
pub unsafe extern "C" fn mbedtls_ssl_get_alpn_protocol(
    ssl: *const mbedtls_ssl_context,
) -> *const c_char
Expand description

\brief Get the name of the negotiated Application Layer Protocol. This function should be called after the handshake is completed.

\param ssl SSL context

\return Protocol name, or NULL if no protocol was negotiated.