Function esp_idf_svc::sys::mbedtls_ssl_get_alpn_protocol

source ยท
pub unsafe extern "C" fn mbedtls_ssl_get_alpn_protocol(
    ssl: *const mbedtls_ssl_context,
) -> *const i8
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.