Skip to main content
Module

x/fastro/types.d.ts>Fastro

Fast and simple web application framework for deno
Go to Latest
type alias Fastro
import { type Fastro } from "https://deno.land/x/fastro@v0.70.5/types.d.ts";
definition: { container: Container; serve(options?: ServeInit): Promise<void>; close(): void; static(path: string, maxAge?: number): Fastro; use(...middleware: Array<MiddlewareArgument>): Fastro; get(path: string, ...handler: Array<HandlerArgument>): Fastro; post(path: string, ...handler: Array<HandlerArgument>): Fastro; put(path: string, ...handler: Array<HandlerArgument>): Fastro; delete(path: string, ...handler: Array<HandlerArgument>): Fastro; patch(path: string, ...handler: Array<HandlerArgument>): Fastro; options(path: string, ...handler: Array<HandlerArgument>): Fastro; head(path: string, ...handler: Array<HandlerArgument>): Fastro; flash(isFlash: boolean): Fastro; build(isBuild: boolean): Fastro; set<T>(
key: string,
value: T,
options?: SetOptions,
): Fastro; page(
path: string,
ssr: SSR,
handler: HandlerArgument,
): Fastro; }