Available on crate features
client and client-pool only.Expand description
A cache of services
The cache is a single list of cached services, bundled with a MakeService.
Calling the cache returns either an existing service, or makes a new one.
The returned impl Service can be used to send requests, and when dropped,
it will try to be returned back to the cache.
Structs§
- Builder
docsrs - A builder to configure a
Cache. - Cache
docsrs - A cache pool of services from the inner make service.
- Cached
docsrs - A cached service returned from a
Cache.
Functions§
- builder
- Start a builder to construct a
Cachepool.