Module

x/oak/mod.ts>ServerConstructor

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
interface ServerConstructor
import { type ServerConstructor } from "https://dotland.deno.dev/x/oak@v12.0.1/mod.ts";

Type Parameters

T extends ServerRequest

Properties

prototype: Server<T>

Methods

new<AS extends State = Record<string, any>>(app: Application<AS>, options: Deno.ListenOptions | Deno.ListenTlsOptions): Server<T>