<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@contract-case/case-definition-dsl](./case-definition-dsl.md) &gt; [matchers](./case-definition-dsl.matchers.md) &gt; [http](./case-definition-dsl.matchers.http.md) &gt; [HttpRequest](./case-definition-dsl.matchers.http.httprequest.md) &gt; [(constructor)](./case-definition-dsl.matchers.http.httprequest._constructor_.md)

## matchers.http.HttpRequest.(constructor)

Matches any HTTP Request with the provided properties

**Signature:**

```typescript
constructor(requestExample: HttpRequestExample);
```

## Parameters

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead>
<tbody><tr><td>

requestExample

</td><td>

HttpRequestExample

</td><td>

An HttpResponseExample that describes the response

</td></tr>
</tbody></table>
