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

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

Super-agent driven library for testing Deno HTTP servers.
Latest
class Oak.HttpServerNative
implements Server<NativeRequest>
import { Oak } from "https://deno.land/x/superdeno@4.9.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>