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

x/cav/examples/chat/deps.ts>Router

A server framework for Deno
Go to Latest
type alias Router
import { type Router } from "https://deno.land/x/cav@0.2.0-alpha.7/examples/chat/deps.ts";

Cav Router handlers, for routing requests.

Type Parameters

optional
S extends RouterShape = { }
definition: S & ((req: RouterRequest<S>, conn: http.ConnInfo) => Promise<Response>)