[−][src]Function actix_web::pred::Header
pub fn Header<S: 'static>(
name: &'static str,
value: &'static str
) -> HeaderPredicate<S>
Return predicate that matches if request contains specified header and value.
pub fn Header<S: 'static>(
name: &'static str,
value: &'static str
) -> HeaderPredicate<S>
Return predicate that matches if request contains specified header and value.