esp_idf_sys

Function mbedtls_ssl_conf_session_tickets

Source
pub unsafe extern "C" fn mbedtls_ssl_conf_session_tickets(
    conf: *mut mbedtls_ssl_config,
    use_tickets: c_int,
)
Expand description

\brief Enable / Disable TLS 1.2 session tickets (client only, TLS 1.2 only). Enabled by default.

\note On server, use \c mbedtls_ssl_conf_session_tickets_cb().

\param conf SSL configuration \param use_tickets Enable or disable (#MBEDTLS_SSL_SESSION_TICKETS_ENABLED or #MBEDTLS_SSL_SESSION_TICKETS_DISABLED)