import { HttpServerNative } from "https://deno.land/x/oak@v13.2.5/mod.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
HttpServerNative(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>
listen(): Promise<Listener>
[Symbol.asyncIterator](): AsyncIterableIterator<NativeRequest>