Skip to main content

client_hello_with_limits

Function client_hello_with_limits 

pub fn client_hello_with_limits(
    initials: &[InitialPacket],
    limits: &CaptureLimits,
) -> Result<Option<Vec<u8>>, CaptureError>
Available on crate features quic and std only.
Expand description

Reassemble a bounded ClientHello, including for caller-supplied packet records. Missing handshake data returns Ok(None). Malformed data, contradictory retransmissions, and exhausted budgets return an error.