Function pact_matching::match_message_contents[][src]

pub async fn match_message_contents(
    expected: &MessageContents,
    actual: &MessageContents,
    context: &MatchingContext
) -> Result<(), Vec<Mismatch>>
Expand description

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