Skip to main content

Module conn

Module conn 

Available on crate feature http only.
Expand description

HTTP connection utilities.

Structs§

H2ClientContextParams
Optional parameters that can be set in the Extensions of a (h2) request to customise the connection of the h2 connection.
H2ServerContextParams
Per-conn override for the h2 server’s initial SETTINGS frame, set on the IO’s Extensions. Any field left None retains the builder default. Some(value) overrides one-to-one; this type can’t express “explicitly unset” — set the builder directly if you need that.
Http1ClientContextParams
Optional parameters that can be set in the Extensions of a (h1) request to customise the connection of the h1 connection.
PeerH2Settings
The peer’s initial (first non-ACK) h2 Settings frame, set as an extension on every h2 client response. Captured once per connection; subsequent SETTINGS updates are not reflected. Stored once in Arc<PeerH2Settings> and shared per-response via rama_core::extensions::Extensions::insert_arc.
TargetHttpVersion
Target http version