Structs§
- Cache
Policy - Defines the caching policy for storing and retrieving responses.
- Client
Builder - A
ClientBuilderis used to build aClientWithMiddleware. - Client
With Middleware ClientWithMiddlewareis a wrapper aroundreqwest::Clientwhich runs middleware on every request.- Drive
Cache - Provides an HTTP cache layer backed by a
SIMD R Drivedata 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
reqwestclient with both cache and throttle middleware.