Function wiremock::matchers::headers[][src]

pub fn headers<K, V>(key: K, values: Vec<V>) -> HeaderExactMatcher where
    K: TryInto<HeaderName>,
    <K as TryInto<HeaderName>>::Error: Debug,
    V: TryInto<HeaderValue>,
    <V as TryInto<HeaderValue>>::Error: Debug

Shorthand for HeaderExactMatcher::new supporting multi valued headers.