Skip to main content

HttpResponse

Matches any HTTP Response with the provided properties.

import { matchers } from '@contract-case/case-definition-dsl'

new matchers.http.HttpResponse(responseExample: HttpResponseExample)

Parameters

NameTypeDescription
responseExamplematchers.HttpResponseExampleAn HttpResponseExample that describes the response.