#![doc = include_str!("../README.md")]
mod middleware;
mod upstream;
pub use middleware::{CacheMiddleware, CacheMiddlewareBuilder, NotSet};
pub use upstream::ReqwestUpstream;
pub use hitbox_http::{
BufferedBody, CacheableHttpRequest, CacheableHttpResponse, DEFAULT_CACHE_STATUS_HEADER,
SerializableHttpResponse, extractors, predicates,
};
pub use reqwest::Body as ReqwestBody;
pub use hitbox::config::CacheConfig;
pub use hitbox::policy::PolicyConfig;
pub use hitbox::{Config, ConfigBuilder};
pub use hitbox_core::DisabledOffload;
pub use hitbox::concurrency::{
BroadcastConcurrencyManager, ConcurrencyManager, NoopConcurrencyManager,
};