<!-- 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)

## matchers.http namespace

## Classes

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

Class

</th><th>

Description

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

[BasicAuthHeaderValue](./case-definition-dsl.matchers.http.basicauthheadervalue.md)

</td><td>

Matches the value part of a basic auth header with the supplied username and password - useful in conjunction with the StateVariable matcher

</td></tr>
<tr><td>

[BearerTokenHeaderValue](./case-definition-dsl.matchers.http.bearertokenheadervalue.md)

</td><td>

Matches the value part of a OIDC or OAuth header with the supplied token - useful in conjunction with the StateVariable matcher

</td></tr>
<tr><td>

[HttpRequest](./case-definition-dsl.matchers.http.httprequest.md)

</td><td>

Matches any HTTP Request with the provided properties

</td></tr>
<tr><td>

[HttpResponse](./case-definition-dsl.matchers.http.httpresponse.md)

</td><td>

Matches any HTTP Response with the provided properties

</td></tr>
<tr><td>

[HttpStatusCode](./case-definition-dsl.matchers.http.httpstatuscode.md)

</td><td>

Matches an HTTP status code

</td></tr>
<tr><td>

[UriEncodedString](./case-definition-dsl.matchers.http.uriencodedstring.md)

</td><td>

Convenience matcher to treat the string as a uri encoded string - useful in `path` segments.

During matching, the actual value is decoded with `decodeUriComponent()` and passed to the child matcher.

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

## Interfaces

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

Interface

</th><th>

Description

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

[HttpRequestExample](./case-definition-dsl.matchers.http.httprequestexample.md)

</td><td>

</td></tr>
<tr><td>

[HttpResponseExample](./case-definition-dsl.matchers.http.httpresponseexample.md)

</td><td>

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