Preparing search index...
The search index is not available
mockttp
mockttp
matchers
RegexBodyMatcher
Class RegexBodyMatcher
Hierarchy (
view full
)
Serializable
RegexBodyMatcher
Implements
RequestMatcher
Index
Constructors
constructor
Properties
regex
String
type
Methods
dispose
explain
matches
Constructors
constructor
new
Regex
Body
Matcher
(
regex
)
:
RegexBodyMatcher
Parameters
regex
:
RegExp
Returns
RegexBodyMatcher
Properties
Readonly
regex
String
regex
String
:
string
Readonly
type
type
:
"raw-body-regexp"
= 'raw-body-regexp'
Methods
dispose
dispose
(
)
:
void
Returns
void
explain
explain
(
)
:
string
Returns
string
matches
matches
(
request
)
:
Promise
<
boolean
>
Parameters
request
:
OngoingRequest
Returns
Promise
<
boolean
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
regex
String
type
Methods
dispose
explain
matches
mockttp
Loading...