Function esp_idf_sys::mbedtls_ssl_conf_session_tickets_cb

source ยท
pub unsafe extern "C" fn mbedtls_ssl_conf_session_tickets_cb(
    conf: *mut mbedtls_ssl_config,
    f_ticket_write: mbedtls_ssl_ticket_write_t,
    f_ticket_parse: mbedtls_ssl_ticket_parse_t,
    p_ticket: *mut c_void,
)
Expand description

\brief Configure SSL session ticket callbacks (server only). (Default: none.)

\note On server, session tickets are enabled by providing non-NULL callbacks.

\note On client, use \c mbedtls_ssl_conf_session_tickets().

\param conf SSL configuration context \param f_ticket_write Callback for writing a ticket \param f_ticket_parse Callback for parsing a ticket \param p_ticket Context shared by the two callbacks