import { Application } from "https://deno.land/x/fast@4.0.0-alpha.4/mod.ts";
Properties
handle: (request: Request) => unknown
serve: (opts?: Deno.ServeOptions) => unknown
Methods
use(...middlewares: Middleware[])
import { type Application } from "https://deno.land/x/fast@4.0.0-alpha.4/mod.ts";
Methods
get(path: string, ...middlewares: Middleware[]): Application
post(path: string, ...middlewares: Middleware[]): Application
put(path: string, ...middlewares: Middleware[]): Application
patch(path: string, ...middlewares: Middleware[]): Application
delete(path: string, ...middlewares: Middleware[]): Application
options(path: string, ...middlewares: Middleware[]): Application
head(path: string, ...middlewares: Middleware[]): Application
use(...middlewares: Middleware[]): Application
serve(opts?: Deno.ServeOptions): Promise<void>