Preparing search index...
The search index is not available
mockttp
mockttp
matchers
HeaderMatcher
Class HeaderMatcher
Hierarchy (
view full
)
Serializable
HeaderMatcher
Implements
RequestMatcher
Index
Constructors
constructor
Properties
headers
type
Methods
dispose
explain
matches
Constructors
constructor
new
Header
Matcher
(
headersInput
)
:
HeaderMatcher
Parameters
headersInput
:
{
[
key
:
string
]
:
string
;
}
[
key
:
string
]:
string
Returns
HeaderMatcher
Properties
headers
headers
:
{
[
key
:
string
]
:
string
;
}
Readonly
type
type
:
"header"
= 'header'
Methods
dispose
dispose
(
)
:
void
Returns
void
explain
explain
(
)
:
string
Returns
string
matches
matches
(
request
)
:
boolean
Parameters
request
:
OngoingRequest
Returns
boolean
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
headers
type
Methods
dispose
explain
matches
mockttp
Loading...