Gets the underlying Express app instance.
Gets if the host is currently running or not.
Gets the underlying logger.
Gets the root endpoint.
Gets or sets if an authorizer should be used or not.
The current value or that instance if new value has been set.
Returns the database class.
The class.
(Re-)Initializes the host.
Log something into the database. This requires a 'logs' collection, described by 'LogsDocument' interface.
The message.
The type.
Options a new connection to a database.
The new, opened, database.
Gets or sets the 'X-Powered-By' header.
The current value or that instance if new value has been set.
Sets a 'Basic Auth' based authorizer.
The authorizer.
this
Sets a prefixed based authorizer.
The authorizer.
this
Sets up a new api / app instance.
The instance to setup.
The API root.
Sets up a new logger instance.
The instance to setup.
Starts the host.
The promise, which indicates if operation successful or not.
Stops the host.
The promise, which indicates if operation successful or not.
Gets or sets if 'body-parser' module should be used or not.
The current value or that instance if new value has been set.
Gets or sets if 'errorhandler' module should be used or not.
The current value or that instance if new value has been set.
Opens a data connection and invokes an action for it. After invokation, the database is closed automatically.
The action to invoke.
The promise with the result of the action.
Generated using TypeDoc
An API with MongoDB helper methods.