Function pact_matching::headers::match_headers
source ยท pub fn match_headers(
expected: Option<HashMap<String, Vec<String>>>,
actual: Option<HashMap<String, Vec<String>>>,
context: &(dyn MatchingContext + Send + Sync)
) -> HashMap<String, Vec<Mismatch>>
Expand description
Matches the actual headers to the expected ones.