Module blocking

Source
Expand description

This module provides a blocking interface on top of hyper’s HTTP client.

The Client type in this module spawns a separate thread for running async tasks. Additionally, since the client holds a connection pool internally, it is advised that instances be reused as much as possible.

Structs§

Body
A body type for HTTP responses that implement std::io::Read
Client
A wrapper for hyper’s Client type providing a blocking interface
ClientBuilder
A builder for Client.
RequestBuilder
An HTTP request builder

Type Aliases§

Request
Response