Module

x/abc/vendor/https/deno.land/std/http/server.ts>Server

A better Deno framework to create web application.
Go to Latest
class Server
implements AsyncIterable<ServerRequest>
import { Server } from "https://dotland.deno.dev/x/abc@v1.2.4/vendor/https/deno.land/std/http/server.ts";

Constructors

new
Server(listener: Deno.Listener)

Properties

private
closing: boolean
private
connections: Deno.Conn[]

Methods

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>