Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oak_http_proxy/test/deps.ts>Oak.HttpServerNative

Proxy middleware for Deno Oak HTTP servers. 🐿 🦕
Latest
class Oak.HttpServerNative
implements Server<NativeRequest>
import { Oak } from "https://deno.land/x/oak_http_proxy@2.3.0/test/deps.ts";
const { HttpServerNative } = Oak;

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.

Type Parameters

optional
AS extends State = Record<string, any>

Properties

readonly
app: Application<AS>
readonly
closed: boolean

Methods

close(): void
listen(): Listener
[Symbol.asyncIterator](): AsyncIterableIterator<NativeRequest>