[][src]Function pact_matching::match_body

pub fn match_body(
    expected: &dyn HttpPart,
    actual: &dyn 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.