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

## matchers.http.UriEncodedString.(constructor)

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.

**Signature:**

```typescript
constructor(child: AnyStringMatcher);
```

## Parameters

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

Parameter

</th><th>

Type

</th><th>

Description

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

child

</td><td>

AnyStringMatcher

</td><td>

Any string matcher or literal string

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