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

x/oak/mod.ts>FlashServer

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Extremely Popular
Go to Latest
class FlashServer
implements Server<HttpRequest>
import { FlashServer } from "https://deno.land/x/oak@v12.1.0/mod.ts";

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>