Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/alosaur/mod.ts>Server

Alosaur - Deno web framework with many decorators
Go to Latest
class Server
implements AsyncIterable<ServerRequest>
Re-export
import { Server } from "https://deno.land/x/alosaur@v0.30.0/mod.ts";

Constructors

new
Server(listener: Deno.Listener)

Methods

private
acceptConnAndIterateHttpRequests(mux: MuxAsyncIterator<ServerRequest>): AsyncIterableIterator<ServerRequest>
private
iterateHttpRequests(conn: Deno.Conn): AsyncIterableIterator<ServerRequest>
private
trackConnection(conn: Deno.Conn): void
private
untrackConnection(conn: Deno.Conn): void
close(): void
[Symbol.asyncIterator](): AsyncIterableIterator<ServerRequest>