Preparing search index...
The search index is not available
mockttp
mockttp
matchers
ProtocolMatcher
Class ProtocolMatcher
Hierarchy (
view full
)
Serializable
ProtocolMatcher
Implements
RequestMatcher
Index
Constructors
constructor
Properties
protocol
type
Methods
dispose
explain
matches
Constructors
constructor
new
Protocol
Matcher
(
protocol
)
:
ProtocolMatcher
Parameters
protocol
:
|
"http"
|
"https"
|
"ws"
|
"wss"
Returns
ProtocolMatcher
Properties
protocol
protocol
:
|
"http"
|
"https"
|
"ws"
|
"wss"
Readonly
type
type
:
"protocol"
= 'protocol'
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
protocol
type
Methods
dispose
explain
matches
mockttp
Loading...