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