Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oak/http_server_bun.ts>Server

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Extremely Popular
Go to Latest
class Server
implements OakServer<BunRequest>
import { Server } from "https://deno.land/x/oak@v16.1.0/http_server_bun.ts";

An implementation of the oak server abstraction for handling requests on Bun using the built in Bun http server.

Constructors

new
Server(_app: Application, options: ServeOptions | ServeTlsOptions)

Methods

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