import { Application } from "https://deno.land/x/abc@v0.2.10/app.ts";
Properties
middleware: MiddlewareFunc[]
premiddleware: MiddlewareFunc[]
renderer: Renderer | undefined
router: Router
server: Server | undefined
Methods
private
transformResult(c: Context, h: HandlerFunc): Promise<void>add(): Application
any(): Application
close(): Promise<void>
file(): Application
file
registers a new route with path to serve a static file with optional route-level middleware.
get(): Application
group(prefix: string, ...m: MiddlewareFunc[]): Group
group
creates a new router group with prefix and optional group level middleware.
head(): Application
match(): Application
patch(): Application
post(): Application
put(): Application
static(prefix: string, root: string): Application
static
registers a new route with path prefix to serve static files from the provided root directory.
trace(): Application