Function pact_matching::match_body [−][src]
pub fn match_body(
expected: &dyn HttpPart,
actual: &dyn HttpPart,
context: &MatchingContext,
header_context: &MatchingContext
) -> BodyMatchResult
Matches the actual body to the expected one. This takes into account the content type of each.