Struct http_client::h1::H1Client [−][src]
pub struct H1Client { /* fields omitted */ }This is supported on crate features
h1_client and default only.Expand description
async-h1 based HTTP Client, with connection pooling (“Keep-Alive”).
Implementations
👎 Deprecated since 6.5.0: This function is misnamed. Prefer Config::max_connections_per_host instead.
👎 Deprecated since 6.5.0:
This function is misnamed. Prefer Config::max_connections_per_host instead.
Create a new instance.
Trait Implementations
Override the existing configuration with new configuration.
Config options may not impact existing connections.
Auto Trait Implementations
impl !RefUnwindSafe for H1Client
impl !UnwindSafe for H1Client
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more