Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/danet/src/deps.ts>TrieRouter

The most mature backend framework for Deno. Create awesome HTTP and WebSocket server as well as KVQueue workers !
Latest
class TrieRouter
implements Router<T>
import { TrieRouter } from "https://deno.land/x/danet@2.4.0/src/deps.ts";

Constructors

new
TrieRouter()

Properties

name: string
node: Node<T>

Methods

add(
method: string,
path: string,
handler: T,
)
match(method: string, path: string): Result<T>