Skip to main content

NeutralRequestPredicate

Type Alias NeutralRequestPredicate 

Source
pub type NeutralRequestPredicate<ReqBody> = Neutral<CacheableHttpRequest<ReqBody>>;
Expand description

A neutral predicate for HTTP requests that always returns Cacheable.

Use this when you want to cache all requests regardless of their properties, or as a starting point for predicate chains with PredicateExt.

Aliased Typeยง

pub struct NeutralRequestPredicate<ReqBody> { /* private fields */ }