Function actix_web::pred::Header

source ·
pub fn Header<S: 'static>(
    name: &'static str,
    value: &'static str
) -> HeaderPredicate<S>
Expand description

Return predicate that matches if request contains specified header and value.