Struct httpbis::Client[][src]

pub struct Client { /* fields omitted */ }

Asynchronous HTTP/2 client.

Client connects to the single server address (which must be specified in ClientBuilder). When connection fails (because of network error or protocol error) client is reconnected.

Methods

impl Client
[src]

Create a new client connected to the specified host and port without using TLS.

Create a new client connected to the specified host and port using TLS.

Create a new client connected to the specified localhost Unix addr.

Create a new client connected to the specified localhost Unix addr using TLS.

Connect to server using plain or TLS protocol depending on tls parameter.

Start HTTP/2 request.

Start HTTP/2 GET request.

Start HTTP/2 POST request.

Create a future which waits for successful connection.

Trait Implementations

impl Service for Client
[src]

Start HTTP/2 request. Read more

impl Drop for Client
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl Send for Client

impl Sync for Client