Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/abc/group.ts>Group

A better Deno framework to create web application.
Go to Latest
class Group
import { Group } from "https://deno.land/x/abc@v1.0.0/group.ts";

Constructors

new
Group(opts: { app: Application; prefix: string; })

Properties

middleware: MiddlewareFunc[]
prefix: string

Methods

add(
method: string,
path: string,
handler: HandlerFunc,
...middleware: MiddlewareFunc[],
): Group
any(
path: string,
): Group
connect(
path: string,
): Group
delete(
path: string,
): Group
file(
p: string,
filepath: string,
): Group
get(
path: string,
): Group
group(prefix: string, ...m: MiddlewareFunc[]): Group
head(
path: string,
): Group
match(
methods: string[],
path: string,
): Group
options(
path: string,
): Group
patch(
path: string,
): Group
post(
path: string,
): Group
put(
path: string,
): Group
static(prefix: string, root: string): Group
trace(
path: string,
): Group