Skip to main content

first_flight_with_limits

Function first_flight_with_limits 

pub fn first_flight_with_limits<P>(
    datagrams: &[&[u8]],
    provider: &P,
    limits: &CaptureLimits,
) -> Result<FirstFlight, CaptureError>
where P: KeyProvider,
Available on crate features quic and std only.
Expand description

Read a flight with explicit budgets applied before retaining peer-controlled data.