[][src]Function pact_matching::match_body

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.