mockttp
Preparing search index...
matchers
RegexUrlMatcher
Class RegexUrlMatcher
Hierarchy (
View Summary
)
Serializable
RegexUrlMatcher
Implements
RequestMatcher
Index
Constructors
constructor
Properties
regex
Flags
regex
Source
type
Methods
dispose
explain
matches
Constructors
constructor
new
RegexUrlMatcher
(
regex
:
RegExp
)
:
RegexUrlMatcher
Parameters
regex
:
RegExp
Returns
RegexUrlMatcher
Properties
Readonly
regex
Flags
regexFlags
:
string
Readonly
regex
Source
regexSource
:
string
Readonly
type
type
:
"regex-url"
= 'regex-url'
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
regex
Flags
regex
Source
type
Methods
dispose
explain
matches
mockttp
Loading...