Skip to main content
Module

x/fast/app.ts>WebApp

Speedy web framework for Deno
Go to Latest
class WebApp
import { WebApp } from "https://deno.land/x/fast@5.1.0/app.ts";

Constructors

new
WebApp()

Properties

handle: (request: Request) => unknown
serve: (opts?: Deno.ServeOptions) => unknown

Methods

use(...middlewares: Middleware[])
interface WebApp
import { type WebApp } from "https://deno.land/x/fast@5.1.0/app.ts";

Methods

get(path: string, ...middlewares: Middleware[]): WebApp
post(path: string, ...middlewares: Middleware[]): WebApp
put(path: string, ...middlewares: Middleware[]): WebApp
patch(path: string, ...middlewares: Middleware[]): WebApp
delete(path: string, ...middlewares: Middleware[]): WebApp
options(path: string, ...middlewares: Middleware[]): WebApp
head(path: string, ...middlewares: Middleware[]): WebApp