x/oak/mod.ts

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
class HttpServerNative
implements Server<NativeRequest>
import { HttpServerNative } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/mod.ts?p=prototype.%5BSymbol.asyncIterator%5D&s=HttpServerNative";

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: Deno.ListenOptions | Deno.ListenTlsOptions)
[src]

Type Parameters

optional
AS extends State = Record<string, any>
[src]

Properties

readonly
app: Application<AS>
[src]
readonly
closed: boolean
[src]

Methods

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