node-webserver
Preparing search index...
Route
Interface Route<Path>
interface
Route
<
Path
extends
string
>
{
handler
:
RouteHandler
<
Path
,
any
>
;
isCatchAll
:
boolean
;
method
:
"GET"
|
"PUT"
|
"POST"
|
"DELETE"
|
"PATCH"
|
"HEAD"
|
"OPTIONS"
;
middlewares
:
Middleware
<
Path
,
Locals
>
[]
;
paramNames
:
readonly
string
[]
;
path
:
Path
;
priority
:
number
;
regex
:
RegExp
;
}
Type Parameters
Path
extends
string
Index
Properties
handler
is
Catch
All
method
middlewares
param
Names
path
priority
regex
Properties
Readonly
handler
handler
:
RouteHandler
<
Path
,
any
>
Readonly
is
Catch
All
isCatchAll
:
boolean
Readonly
method
method
:
"GET"
|
"PUT"
|
"POST"
|
"DELETE"
|
"PATCH"
|
"HEAD"
|
"OPTIONS"
Readonly
middlewares
middlewares
:
Middleware
<
Path
,
Locals
>
[]
Readonly
param
Names
paramNames
:
readonly
string
[]
Readonly
path
path
:
Path
Readonly
priority
priority
:
number
Readonly
regex
regex
:
RegExp
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
handler
is
Catch
All
method
middlewares
param
Names
path
priority
regex
node-webserver
Loading...