pub fn header<K, V>(key: K, value: 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
.