import { HttpServer } from "https://deno.land/x/sptaki@1.2.0/servers/mod.ts";
Constructors
new
HttpServer(logger: ILogger,
databaseServer: DatabaseServer,
httpServerHelper: HttpServerHelper,
localisationService: LocalisationService,
httpListeners: IHttpListener[],
configServer: ConfigServer,
applicationContext: ApplicationContext,
webSocketServer: WebSocketServer,
Properties
protected
applicationContext: ApplicationContextprotected
configServer: ConfigServerprotected
databaseServer: DatabaseServerprotected
httpConfig: IHttpConfigprotected
httpListeners: IHttpListener[]protected
httpServerHelper: HttpServerHelperprotected
localisationService: LocalisationServiceprotected
logger: ILoggerprotected
webSocketServer: WebSocketServerMethods
protected
getCookies(req: IncomingMessage): Record<string, string>protected
handleRequest(req: IncomingMessage, resp: ServerResponse): voidprotected
isLocalRequest(remoteAddress: string): booleanCheck against hardcoded values that determine its from a local address
isStarted(): boolean
load(): void
Handle server loading event