Function s2n_tls_sys::s2n_connection_is_session_resumed

source ·
pub unsafe extern "C" fn s2n_connection_is_session_resumed(
    conn: *mut s2n_connection
) -> c_int
Expand description

Check if the connection was resumed from an earlier handshake.

@param conn A pointer to the s2n_connection object

@returns returns 1 if the handshake was abbreviated, otherwise returns 0