Skip to main content

HttpRequest

Matches any HTTP Request with the provided properties.

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

new matchers.http.HttpRequest(requestExample: HttpRequestExample)

Parameters

NameTypeDescription
requestExamplematchers.HttpRequestExampleAn HttpResponseExample that describes the response.