[][src]Function pact_matching::match_body

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

Use the version that returns a match result (match_body_result)

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