Skip to main content

UriEncodedString

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.

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

new matchers.http.UriEncodedString(child: any)

Parameters

NameTypeDescription
childanyAny string matcher or literal string.