Function s2n_quic_tls::ffi::s2n_client_hello_get_extension_length

source ยท
pub unsafe extern "C" fn s2n_client_hello_get_extension_length(
    ch: *mut s2n_client_hello,
    extension_type: u32,
) -> isize
Expand description

Query the ClientHello message received by the server. Use this function to allocate the out buffer for other client hello extension functions.

@param ch A pointer to the Client Hello @param extension_type Indicates the desired extension @returns The number of bytes the given extension type takes