Skip to main content
Module

x/alosaur/src/deps.ts>Server

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
class Server
implements AsyncIterable<ServerRequest>
import { Server } from "https://deno.land/x/alosaur@v0.15.0/src/deps.ts";

Constructors

new
Server(listener: Listener)

Properties

private
closing: boolean
private
connections: Conn[]

Methods

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