Struct hyper::client::connect::Connected [] [src]

pub struct Connected { /* fields omitted */ }

Extra information about the connected transport.

This can be used to inform recipients about things like if ALPN was used, or if connected to an HTTP proxy.

Methods

impl Connected
[src]

[src]

Create new Connected type with empty metadata.

[src]

Set whether the connected transport is to an HTTP proxy.

This setting will affect if HTTP/1 requests written on the transport will have the request-target in absolute-form or origin-form (such as GET http://hyper.rs/guide HTTP/1.1 or GET /guide HTTP/1.1).

Default is false.

Trait Implementations

impl Debug for Connected
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Connected

impl Sync for Connected