import { type ServerConstructor } from "https://deno.land/x/oak@v17.1.3/types.ts";
The abstract constructor interface that custom servers need to adhere to
when using with an Application
.
Type Parameters
T extends ServerRequest
Methods
new<AS extends State = Record<string, any>>(app: Application<AS>, options: Omit<ServeOptions | ServeTlsOptions, "signal">): OakServer<T>