Skip to main content

Module backends

Module backends 

Source
Expand description

Built-in HTTP client backend implementations.

The SDK ships with two optional backends, controlled by Cargo features:

  • reqwest-client (default) — ReqwestClient, an async backend powered by reqwest. Use this with Tokio or any async runtime.

  • ureq-client — [UreqClient], a blocking backend powered by ureq. Suitable for scripts, CLIs, and environments without an async runtime.

To use a completely custom HTTP transport, implement HttpClient and pass it to ClientBuilder::build_with.

Structs§

ReqwestClient
Async HTTP backend powered by reqwest.