pub fn headers<K, V>(key: K, values: Vec<V>) -> HeaderExactMatcherwhere
K: TryInto<HeaderName>,
<K as TryInto<HeaderName>>::Error: Debug,
V: TryInto<HeaderValue>,
<V as TryInto<HeaderValue>>::Error: Debug,
Expand description
Shorthand for HeaderExactMatcher::new
supporting multi valued headers.