Search
Preparing search index...
The search index is not available
mockttp
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
mockttp
matchers
Namespace matchers
Index
Classes
Callback
Matcher
Cookie
Matcher
Exact
Query
Matcher
Form
Data
Matcher
Header
Matcher
Host
Matcher
Hostname
Matcher
Json
Body
Flexible
Matcher
Json
Body
Matcher
Method
Matcher
Multipart
Form
Data
Matcher
Port
Matcher
Protocol
Matcher
Query
Matcher
Raw
Body
Includes
Matcher
Raw
Body
Matcher
Regex
Body
Matcher
Regex
Path
Matcher
Regex
Url
Matcher
Simple
Path
Matcher
Wildcard
Matcher
Interfaces
Request
Matcher
Serialized
Callback
Matcher
Data
Type Aliases
Multipart
Field
Match
Condition
Variables
Matcher
Lookup
Functions
explain
Matchers
matches
All
Type Aliases
Multipart
Field
Match
Condition
Multipart
Field
Match
Condition
:
{
content
?:
string
|
Uint8Array
;
filename
?:
string
;
name
?:
string
}
Type declaration
Optional
content
?:
string
|
Uint8Array
Optional
filename
?:
string
Optional
name
?:
string
Variables
Const
Matcher
Lookup
Matcher
Lookup
:
{
callback
:
typeof
CallbackMatcher
;
cookie
:
typeof
CookieMatcher
;
exact-query-string
:
typeof
ExactQueryMatcher
;
form-data
:
typeof
FormDataMatcher
;
header
:
typeof
HeaderMatcher
;
host
:
typeof
HostMatcher
;
hostname
:
typeof
HostnameMatcher
;
json-body
:
typeof
JsonBodyMatcher
;
json-body-matching
:
typeof
JsonBodyFlexibleMatcher
;
method
:
typeof
MethodMatcher
;
multipart-form-data
:
typeof
MultipartFormDataMatcher
;
port
:
typeof
PortMatcher
;
protocol
:
typeof
ProtocolMatcher
;
query
:
typeof
QueryMatcher
;
raw-body
:
typeof
RawBodyMatcher
;
raw-body-includes
:
typeof
RawBodyIncludesMatcher
;
raw-body-regexp
:
typeof
RegexBodyMatcher
;
regex-path
:
typeof
RegexPathMatcher
;
regex-url
:
typeof
RegexUrlMatcher
;
simple-path
:
typeof
SimplePathMatcher
;
wildcard
:
typeof
WildcardMatcher
}
= ...
Type declaration
callback
:
typeof
CallbackMatcher
cookie
:
typeof
CookieMatcher
exact-
query-
string
:
typeof
ExactQueryMatcher
form-
data
:
typeof
FormDataMatcher
header
:
typeof
HeaderMatcher
host
:
typeof
HostMatcher
hostname
:
typeof
HostnameMatcher
json-
body
:
typeof
JsonBodyMatcher
json-
body-
matching
:
typeof
JsonBodyFlexibleMatcher
method
:
typeof
MethodMatcher
multipart-
form-
data
:
typeof
MultipartFormDataMatcher
port
:
typeof
PortMatcher
protocol
:
typeof
ProtocolMatcher
query
:
typeof
QueryMatcher
raw-
body
:
typeof
RawBodyMatcher
raw-
body-
includes
:
typeof
RawBodyIncludesMatcher
raw-
body-
regexp
:
typeof
RegexBodyMatcher
regex-
path
:
typeof
RegexPathMatcher
regex-
url
:
typeof
RegexUrlMatcher
simple-
path
:
typeof
SimplePathMatcher
wildcard
:
typeof
WildcardMatcher
Functions
explain
Matchers
explain
Matchers
(
matchers
:
RequestMatcher
[]
)
:
string
Parameters
matchers:
RequestMatcher
[]
Returns
string
matches
All
matches
All
(
req
:
OngoingRequest
, matchers
:
RequestMatcher
[]
)
:
Promise
<
boolean
>
Parameters
req:
OngoingRequest
matchers:
RequestMatcher
[]
Returns
Promise
<
boolean
>
Exports
Mockttp
Pluggable
Admin
Pluggable
Admin
completion
Checkers
matchers
request
Handler
Definitions
request
Handlers
web
Socket
Handler
Definitions
web
Socket
Handlers
Callback
Matcher
Cookie
Matcher
Exact
Query
Matcher
Form
Data
Matcher
Header
Matcher
Host
Matcher
Hostname
Matcher
Json
Body
Flexible
Matcher
Json
Body
Matcher
Method
Matcher
Multipart
Form
Data
Matcher
Port
Matcher
Protocol
Matcher
Query
Matcher
Raw
Body
Includes
Matcher
Raw
Body
Matcher
Regex
Body
Matcher
Regex
Path
Matcher
Regex
Url
Matcher
Simple
Path
Matcher
Wildcard
Matcher
Request
Matcher
Serialized
Callback
Matcher
Data
Multipart
Field
Match
Condition
Matcher
Lookup
explain
Matchers
matches
All
Generated using
TypeDoc