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

Access the client hello protocol version for the connection.

@note The return value corresponds to the macros defined as S2N_SSLv2, S2N_SSLv3, S2N_TLS10, S2N_TLS11, S2N_TLS12, and S2N_TLS13.

@param conn A pointer to the connection @returns The protocol version used to send the initial client hello message.