Function s2n_tls_sys::s2n_connection_get_client_hello

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

Get the Client Hello from a s2n_connection.

Earliest point during the handshake when this structure is available for use is in the client_hello_callback (see s2n_config_set_client_hello_cb()).

@param conn The connection object containing the client hello @returns A handle to the s2n_client_hello structure holding the client hello message sent by the client during the handshake. NULL is returned if a Client Hello has not yet been received and parsed.