Function pact_matching::match_body [−][src]
pub async fn match_body(
expected: &(dyn HttpPart + Send + Sync),
actual: &(dyn HttpPart + Send + Sync),
context: &MatchingContext,
header_context: &MatchingContext
) -> BodyMatchResult
Expand description
Matches the actual body to the expected one. This takes into account the content type of each.