node-webserver
Preparing search index...
RouteHandler
Type Alias RouteHandler<Path, Locals>
RouteHandler
:
(
event
:
RequestEvent
<
ExtractPathParams
<
Path
>
&
RequestEvent
[
"params"
]
,
Path
,
Locals
,
>
,
)
=>
MaybePromise
<
Response
>
Type Parameters
Path
extends
string
Locals
extends
App.Locals
=
App.Locals
Type Declaration
(
event
:
RequestEvent
<
ExtractPathParams
<
Path
>
&
RequestEvent
[
"params"
]
,
Path
,
Locals
,
>
,
)
:
MaybePromise
<
Response
>
Parameters
event
:
RequestEvent
<
ExtractPathParams
<
Path
>
&
RequestEvent
[
"params"
]
,
Path
,
Locals
>
Returns
MaybePromise
<
Response
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
node-webserver
Loading...