Skip to main content

Crate fetch_kit

Crate fetch_kit 

Source
Expand description

Resilient HTTP client for Rust.

fetch_kit wraps reqwest-middleware with sensible defaults for retries, timeouts, and typed JSON helpers. Enable the circuit-breaker feature for automatic circuit-breaking on repeated failures.

Re-exports§

pub use error::FetchError;

Modules§

error
Error types.
middleware
Middleware implementations. Middleware implementations for fetch_kit.

Structs§

Client
A resilient HTTP client with retry, timeout, and typed JSON support.
ClientBuilder
Builder for constructing a Client with custom configuration.
RequestBuilder
A wrapper around reqwest_middleware::RequestBuilder that provides a ergonomic API and resolves the URL against the client’s base URL.
Response
A Response to a submitted Request.