Module

x/abc/router.ts>Node

A better Deno framework to create web application.
Go to Latest
class Node
import { Node } from "https://dotland.deno.dev/x/abc@v0.1.10/router.ts";

Properties

children: Children
handle: HandlerFunc
indices: string
maxParams: number
nType
path: string
priority: number
wildChild: boolean

Methods

addRoute(path: string, handle: HandlerFunc): void
getValue(path: string): [HandlerFunc, Params, boolean]
incrementChildPrio(pos: number): number
insertChild(
numParams: number,
path: string,
fullPath: string,
handle: HandlerFunc,
): void