Expand description
Upstream service abstraction.
This module provides the Upstream trait for calling backend services
when cache misses occur.
§Overview
The Upstream trait abstracts over any async service that can handle
requests and return responses. This allows the caching layer to be
agnostic to the actual service implementation.
§Framework Integration
Protocol-specific crates provide implementations for common frameworks:
hitbox-reqwest- Reqwest HTTP client integrationhitbox-tower- Tower service integration
Traits§
- Upstream
- Trait for calling upstream services with cacheable requests.