Type Alias CacheableHook

Source
pub type CacheableHook = Arc<Box<dyn Fn(CacheableHookContext<'_>) -> bool + Send + Sync>>;
Expand description

Hook to check if a request or a response is cacheable.

Aliased Typeยง

pub struct CacheableHook { /* private fields */ }