Skip to main content
Module

x/cav/http.ts>Server

A server framework for Deno
Go to Latest
interface Server
implements [http.Server]
import { type Server } from "https://deno.land/x/cav@0.0.14/http.ts";

The standard http.Server type, but with a type parameter indicating the type of the handler that was passed in. The handler will usually be a Stack but could be any other type of Handler.

Type Parameters

H extends http.Handler

Properties

optional
[_server]: H