Namespace: Router¶
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¶
packages/server/lib/router.d.ts:69
Method¶
Ƭ Method: "GET" | "PUT" | "POST" | "PATCH" | "DELETE"
The Method type.
Defined in¶
packages/server/lib/router.d.ts:73