Skip to main content
Module

x/cav/mod.ts

Experimental server framework for Deno
Go to Latest
import * as cav from "https://deno.land/x/cav@0.5.0/mod.ts";

Functions

Returns the Context instance for a given Request and ConnInfo pair. If the connInfo instance is already a Context, it's returned unmodified.

Creates a Router handler, for routing requests based on request path.

Interfaces

Information associated with an incoming request.

The shape of a router, mapping route path to its corresponding handler.

Type Aliases

Request handler. Compatible with Deno's standard Handler type.

Routes requests between multiple handlers based on request path.