Struct hyper::client::HttpConnector [] [src]

pub struct HttpConnector { /* fields omitted */ }

A connector for the http scheme.

Methods

impl HttpConnector
[src]

[src]

Construct a new HttpConnector.

Takes number of DNS worker threads.

[src]

Construct a new HttpConnector.

Takes an executor to run blocking tasks on.

[src]

Option to enforce all Uris have the http scheme.

Enabled by default.

[src]

Set that all sockets have SO_KEEPALIVE set with the supplied duration.

If None, the option will not be set.

Default is None.

Trait Implementations

impl Clone for HttpConnector
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for HttpConnector
[src]

[src]

Formats the value using the given formatter. Read more

impl Service for HttpConnector
[src]

Requests handled by the service.

Responses given by the service.

Errors produced by the service.

The future response value.

[src]

Process the request and return the response asynchronously.