node-webserver
Preparing search index...
EventEnhancer
Type Alias EventEnhancer<Params, RouteId, Locals, Context>
EventEnhancer
:
(
event
:
RequestEvent
<
Params
,
RouteId
,
Locals
>
,
)
=>
MaybePromise
<
Context
|
void
|
undefined
|
Response
>
Type Parameters
Params
extends
Partial
<
Record
<
string
,
string
>
>
=
Partial
<
Record
<
string
,
string
>
>
RouteId
extends
string
|
null
=
string
|
null
Locals
extends
App.Locals
=
App.Locals
Context
extends
Record
<
string
,
any
>
=
Record
<
string
,
any
>
Type Declaration
(
event
:
RequestEvent
<
Params
,
RouteId
,
Locals
>
,
)
:
MaybePromise
<
Context
|
void
|
undefined
|
Response
>
Parameters
event
:
RequestEvent
<
Params
,
RouteId
,
Locals
>
Returns
MaybePromise
<
Context
|
void
|
undefined
|
Response
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
node-webserver
Loading...