Preparing search index...
The search index is not available
mockttp
mockttp
matchers
CallbackMatcher
Class CallbackMatcher
Hierarchy (
view full
)
Serializable
CallbackMatcher
Implements
RequestMatcher
Index
Constructors
constructor
Properties
callback
type
Methods
dispose
explain
matches
Constructors
constructor
new
Callback
Matcher
(
callback
)
:
CallbackMatcher
Parameters
callback
:
(
(
request
:
CompletedRequest
)
=>
MaybePromise
<
boolean
>
)
(
request
)
:
MaybePromise
<
boolean
>
Parameters
request
:
CompletedRequest
Returns
MaybePromise
<
boolean
>
Returns
CallbackMatcher
Properties
callback
callback
:
(
(
request
:
CompletedRequest
)
=>
MaybePromise
<
boolean
>
)
Readonly
type
type
:
"callback"
= 'callback'
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
callback
type
Methods
dispose
explain
matches
mockttp
Loading...