Search
Preparing search index...
The search index is not available
mockttp
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
mockttp
matchers
JsonBodyMatcher
Class JsonBodyMatcher
Hierarchy
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
:
{}
Type declaration
Readonly
type
type
:
"json-body"
= 'json-body'
Methods
dispose
dispose
(
)
:
void
Returns
void
explain
explain
(
)
:
string
Returns
string
matches
matches
(
request
:
OngoingRequest
)
:
Promise
<
boolean
>
Parameters
request:
OngoingRequest
Returns
Promise
<
boolean
>
Exports
Mockttp
Pluggable
Admin
Pluggable
Admin
completion
Checkers
matchers
request
Handler
Definitions
request
Handlers
web
Socket
Handler
Definitions
web
Socket
Handlers
Json
Body
Matcher
constructor
body
type
dispose
explain
matches
Generated using
TypeDoc