Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/hex/src/fw/service/deps.ts>oak.FlashServer

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Go to Latest
class oak.FlashServer
implements Server<HttpRequest>
import { oak } from "https://deno.land/x/hex@0.6.3/src/fw/service/deps.ts";
const { FlashServer } = oak;

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)

Methods

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