Skip to main content

NeutralResponsePredicate

Type Alias NeutralResponsePredicate 

Source
pub type NeutralResponsePredicate<ResBody> = Neutral<CacheableHttpResponse<ResBody>>;
Expand description

A neutral predicate for HTTP responses that always returns Cacheable.

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

Aliased Typeยง

pub struct NeutralResponsePredicate<ResBody> { /* private fields */ }