Module

x/ash/src/Router/Route.ts>default.get

A stylish web framework for Deno!
Latest
method default.get
import { default } from "https://dotland.deno.dev/x/ash@1.3.6/src/Router/Route.ts";

Registers a route that matches for the HTTP GET method.

Parameters

path: string

The path to register.

controller: Controller | Function

The controller that will be called when the path is matched.