x/oak/mod.ts

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
class FlashServer
implements Server<HttpRequest>
import { FlashServer } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/mod.ts?s=FlashServer";

A server abstraction which manages requests from Deno's flash server.

You can pass the class as the server property when constructing a new application to force the application to use Deno's flash server.

Constructors

new
FlashServer(app: Application<any>, options: FlashServerOptions)
[src]

Methods

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