Namespace: Router
#
@jupyterlite/server.Router
A namespace for Router statics.
Type Aliases#
Callback
#
Ƭ Callback
: (req
: IRequest
, …args
: string
[]) => Promise
<Response
>
Type declaration#
(
req
,...args
):Promise
<Response
>
The Callback type.
Parameters#
Name |
Type |
---|---|
|
|
|
|
Returns#
Promise
<Response
>
Defined in#
Method
#
Ƭ Method
: "GET"
| "PUT"
| "POST"
| "PATCH"
| "DELETE"
The Method type.