<!-- 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; [interactions](./case-definition-dsl.interactions.md) &gt; [http](./case-definition-dsl.interactions.http.md) &gt; [WillReceiveHttpRequest](./case-definition-dsl.interactions.http.willreceivehttprequest.md) &gt; [(constructor)](./case-definition-dsl.interactions.http.willreceivehttprequest._constructor_.md)

## interactions.http.WillReceiveHttpRequest.(constructor)

Defines an example that expects to receive an HTTP request. Use this to define a contract at an HTTP client.

**Signature:**

```typescript
constructor(httpExample: HttpExample);
```

## Parameters

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

Parameter

</th><th>

Type

</th><th>

Description

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

httpExample

</td><td>

[HttpExample](./case-definition-dsl.interactions.http.httpexample.md)

</td><td>

an

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