Function s2n_tls_sys::s2n_connection_get_session_length
source · pub unsafe extern "C" fn s2n_connection_get_session_length(
conn: *mut s2n_connection
) -> c_int
Expand description
Use this to query the serialized session state size before copying it into a buffer.
@param conn A pointer to the s2n_connection object
@returns number of bytes needed to store serialized session state