@whi/cf-routing - v0.2.0
Preparing search index...
Middleware
Type Alias Middleware<P>
Middleware
:
(
request
:
Request
,
env
:
any
,
params
:
P
)
=>
Promise
<
void
>
|
void
Middleware function type for WorkerRouter
Type Parameters
P
extends
Params
=
Params
Route parameters type
Type Declaration
(
request
:
Request
,
env
:
any
,
params
:
P
)
:
Promise
<
void
>
|
void
Parameters
request
:
Request
env
:
any
params
:
P
Returns
Promise
<
void
>
|
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@whi/cf-routing - v0.2.0
Loading...
Middleware function type for WorkerRouter