Skip to main content

Module backend

Module backend 

Source
Expand description

HTTP transport abstraction.

The default backend is ReqwestBackend. Inject a custom HttpBackend via ClientBuilder::backend for tests or alternate transports.

Structs§

HttpRequest
Prepared HTTP request passed to a backend.
HttpResponse
Raw HTTP response from a backend.
ReqwestBackend
Reqwest-backed HTTP backend.

Enums§

HttpBody
Request body encoding for the transport layer.

Traits§

HttpBackend
Pluggable HTTP transport used by Client.