Skip to main content

Module blocking

Module blocking 

Available on crate features http and std only.
Expand description

Blocking HTTP client boundary.

Client::try_new creates and owns a dedicated runtime thread. Cloning the client shares both the asynchronous service and that runtime.

§Panics

Blocking client operations must not run directly on an asynchronous executor thread.

Structs§

Body
A blocking HTTP response body.
Client
A cloneable blocking boundary around an asynchronous HTTP service.
Response
An HTTP response with a blocking body reader and an attached runtime lease.