Skip to main content
Module

x/duck_web_framework/router.ts

A Deno express-like HTTP server
Latest
import * as duckWebFramework from "https://deno.land/x/duck_web_framework@0.1.1/router.ts";

Classes

Router stores route handlers and middlewares. It can have a base URL specified, which will be prepended to every route. Every middleware will only work on requests that point to URL that starts with that base.