Optional
config: IAppConfigRelative path to the application directory.
Absolute path to the application directory.
Bundle path in the website structure.
Absolute path to the bundle file in the application structure.
Indicates if the webpack is bundling.
Indicates if the app is in DEV mode.
JSX class for the layout component.
CSP nonce.
Absolute path to the javascript directory for the webpack config.
Port number where the app listens.
Session class.
Relative path to the static dir.
Absolute path to the static dir.
Instance of the Text.
App version.
Authorizes the user.
Current session.
Callback after the auth process.
Optional
err: anyGets the server config.
Gets the server config by it's key.
Key of the config field.
Gets the list of registered socket classes.
Gets the list of registered socket events.
Registers the callback executing before the route execution.
Registers component.
Absolute path or relative path to the component from the app directory.
Id of the element in the layout where the component should be rendered.
Registers component.
Absolute path or relative path to the component from the app directory.
Id of the element in the layout where the component should be rendered.
Indicates if the component's wrapper should be automatically rendered in the layout's body.
Registers the middleware.
Middleware to register.
Registers the middleware.
Middleware to register.
Indicates if the middleware should be executed after the routes register.
Registers the plugin.
Instance of plugin.
Registers route.
Registers route.
Registers callback to route registered with rsconfig for GET method.
Route spec.
Callback to call when the route is called.
Registers callback to route registered with rsconfig.
HTTP method.
Route spec.
Callback to call when the route is called.
Registers the socket class.
Socket class to register.
Starts the application. It creates bundle in the process.
Starts the application. It creates bundle in the process.
Callback called after the application is started.
Optional
err: anyStarts the application. Bundle creation depends on the skipBundle
parameter.
Indicates if the bundle creation should be skipped in the start process. It means bundle is already created with bundle
method.
Callback called after the application is started.
Optional
err: any
Base server application.