Function pact_matching::match_body[][src]

pub fn match_body(
    expected: &HttpPart,
    actual: &HttpPart,
    config: DiffConfig,
    mismatches: &mut Vec<Mismatch>,
    matchers: &MatchingRules
)

Matches the actual body to the expected one. This takes into account the content type of each.