Struct hyper::client::Client [] [src]

pub struct Client { /* fields omitted */ }

A Client to use additional features with Requests.

Clients can handle things such as: redirect policy, connection pooling.

Methods

impl Client
[src]

[src]

Create a new Client.

[src]

Create a new Client with a configured Pool Config.

[src]

Create a Client with an HTTP proxy to a (host, port).

[src]

Create a Client using a proxy with a custom connector and SSL client.

[src]

Create a new client with a specific connector.

[src]

Create a new client with a specific Protocol.

[src]

Set the RedirectPolicy.

[src]

Set the read timeout value for all requests.

[src]

Set the write timeout value for all requests.

[src]

Build a Get request.

[src]

Build a Head request.

[src]

Build a Patch request.

[src]

Build a Post request.

[src]

Build a Put request.

[src]

Build a Delete request.

[src]

Build a new request using this Client.

Trait Implementations

impl Debug for Client
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Client
[src]

[src]

Returns the "default value" for a type. Read more