Module

x/oak/mod.ts>ServerConstructor

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

Type Parameters

T extends ServerRequest

Properties

prototype: OakServer<T>
optional
type: "native" | "node"

Methods

new<AS extends State = Record<string, any>>(app: Application<AS>, options: Omit<ServeOptions | ServeTlsOptions, "signal">): OakServer<T>