Search
Preparing search index...
The search index is not available
Metal Event
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Metal Event
Route
Class Route<R, D>
Type parameters
R
D
Hierarchy
Route
Index
Constructors
constructor
Properties
handler
method
path
pattern
Methods
match
Constructors
constructor
new
Route<R, D>
(
method
:
string
, path
:
string
, handler
:
RequestHandler
<
R
,
D
>
)
:
Route
<
R
,
D
>
Type parameters
R
D
Parameters
method:
string
path:
string
handler:
RequestHandler
<
R
,
D
>
Returns
Route
<
R
,
D
>
Properties
handler
handler
:
RequestHandler
<
R
,
D
>
method
method
:
string
path
path
:
string
Private
pattern
pattern
:
UrlPattern
Methods
match
match
(
url
:
string
)
:
any
Parameters
url:
string
Returns
any
Exports
Route
constructor
handler
method
path
pattern
match
Generated using
TypeDoc