Function actix_web::pred::Header[][src]

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

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