Constructs a new ExpressServerManager.
Where configs specific to the ServerManager are stored.
Defines how the server should react to each request.
Contains a reference to the HttpServer that this manager is attached to. (only available after it has been attached)
Configures the ExpressServerManager.
Since there can be multiple managers on an HttpServer, one manager may wish to communicate with another. This function will return one of the other managers by name.
Gets the HttpServer that this ServerManager is attached to. (only available after it has been attached)
Configures an Express instance and attaches it to the given httpServer.
Performs any necessary cleanup.
Returns the default configuration for an ExpressServerManager.
Generated using TypeDoc
A simple HTTP server built on Express, with an API protected by TypeScript.
It should be noted that although this server is powered by Express, little effort is made to elegantly wrap around the numerous features that Express provides. The goal of this server is to provide basic bootstrapping for express and to implement an interface that can also be implemented by an ExpressClient to ensure that both communicate with each other properly.