Type Alias http_cache::CacheBust
source · pub type CacheBust = Arc<dyn Fn(&Parts, &Option<CacheKey>, &str) -> Vec<String> + Send + Sync>;
Expand description
A closure that takes http::request::Parts
, Option<CacheKey>
, the default cache key ([&str``]) and returns [
Vec
Aliased Type§
struct CacheBust { /* private fields */ }