mockttp
Preparing search index...
matchers
ProtocolMatcher
Class ProtocolMatcher
Hierarchy (
View Summary
)
Serializable
ProtocolMatcher
Implements
RequestMatcher
Index
Constructors
constructor
Properties
protocol
type
Methods
dispose
explain
matches
Constructors
constructor
new
ProtocolMatcher
(
protocol
:
"http"
|
"https"
|
"wss"
|
"ws"
)
:
ProtocolMatcher
Parameters
protocol
:
"http"
|
"https"
|
"wss"
|
"ws"
Returns
ProtocolMatcher
Properties
protocol
protocol
:
"http"
|
"https"
|
"wss"
|
"ws"
Readonly
type
type
:
"protocol"
= 'protocol'
Methods
dispose
dispose
()
:
void
Returns
void
explain
explain
()
:
string
Returns
string
matches
matches
(
request
:
OngoingRequest
)
:
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...