Preparing search index...
The search index is not available
mockttp
mockttp
matchers
JsonBodyMatcher
Class JsonBodyMatcher
Hierarchy (
view full
)
Serializable
JsonBodyMatcher
Implements
RequestMatcher
Index
Constructors
constructor
Properties
body
type
Methods
dispose
explain
matches
Constructors
constructor
new
Json
Body
Matcher
(
body
)
:
JsonBodyMatcher
Parameters
body
:
{}
Returns
JsonBodyMatcher
Properties
body
body
:
{}
Readonly
type
type
:
"json-body"
= 'json-body'
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
body
type
Methods
dispose
explain
matches
mockttp
Loading...