Structs§
- Cache
Policy - Defines the caching policy for storing and retrieving responses.
- Client
Builder - A
ClientBuilder
is used to build aClientWithMiddleware
. - Client
With Middleware ClientWithMiddleware
is a wrapper aroundreqwest::Client
which runs middleware on every request.- Drive
Cache - Provides an HTTP cache layer backed by a
SIMD R Drive
data store. - Drive
Throttle Backoff - Implements a throttling and exponential backoff middleware for HTTP requests.
- Throttle
Policy - Defines the throttling and backoff behavior for handling HTTP requests.
Functions§
- init_
cache - Initializes only the cache middleware with a file-based data store.
- init_
cache_ with_ drive - Initializes only the cache middleware using an existing
Arc<DataStore>
. - init_
cache_ with_ drive_ and_ throttle - Initializes both cache and throttle middleware using an existing
Arc<DataStore>
. - init_
cache_ with_ throttle - Initializes both cache and throttle middleware with a file-based data store.
- init_
client_ with_ cache_ and_ throttle - Initializes a
reqwest
client with both cache and throttle middleware.