import { NHttp } from "https://deno.land/x/nhttp@1.2.2/mod.ts";
Constructors
new
NHttp(unnamed 0?: TApp)Type Parameters
optional
Rev extends RequestEvent = RequestEventProperties
private
track: Set<Deno.HttpConn>server: TRet
Methods
private
acceptConn()private
buildListenOptions(opts: number | ListenOptions)private
closeServer()private
handleHttp(httpConn: Deno.HttpConn, conn: Deno.Conn)listen(options: number | ListenOptions, callback?: (err: Error | undefined, opts: ListenOptions) => void | Promise<void>)
listen the server
matchFns(rev: RequestEvent, path: string)