std/http/mod.ts

Deno standard library
Go to Latest
class Server
implements AsyncIterable<ServerRequest>
import { Server } from "https://deno.land/std@0.81.0/http/mod.ts?s=Server";

Constructors

new
Server(listener: Deno.Listener)
[src]

Properties

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

Methods

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