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