import { type ServerConstructor } from "https://dotland.deno.dev/x/oak@v14.1.1/mod.ts";
The abstract constructor interface that custom servers need to adhere to
when using with an Application
.
Properties
prototype: OakServer<T>
Methods
new<AS extends State = Record<string, any>>(app: Application<AS>, options: Omit<ServeOptions | ServeTlsOptions, "signal">): OakServer<T>