import { Server } from "https://deno.land/x/oak@v17.1.2/http_server_native.ts";
The oak abstraction of the Deno native HTTP server which is used internally for handling native HTTP requests. Generally users of oak do not need to worry about this class.
Constructors
new
Server(app: Application<AS>, options: Omit<ServeOptions | ServeTlsOptions, "signal">)Type Parameters
optional
AS extends State = Record<string, any>Properties
readonly
app: Application<AS>Methods
close(): Promise<void>
[Symbol.asyncIterator](): AsyncIterableIterator<NativeRequest>