Skip to main content

receive_settings

Function receive_settings 

pub fn receive_settings(
    connection: Connection,
    config: &Config,
) -> impl Future<Output = Result<Handshake, Error>> + Send
Available on crate features http-backend and http and std only.
Expand description

Read peer SETTINGS without opening or writing local HTTP/3 streams.

Uses config’s existing bounded frame, chunk and pending-stream limits. Apply the caller’s readiness deadline. Dropping the returned future, even before polling it, closes this connection. The returned owner must be finished before the driver and request handling start; held QPACK bytes are not decoded under a provisional configuration.