Start listening to http incoming requests
server host address
server port
Optional
callback: ((mode?: string) => void)callback a function to run after starting to listen
Optional
mode: stringA method to config core as you want
If you want to config the core, use this method before all other methods.
core config object
Loads a specified Axon plugin using the plugin loader.
The plugin to be loaded. It should be an instance of AxonPlugin.
loads created routes
instance of Router which routes setted with it.
Optional
prefix: string
You can set one or many middlewares in global scope with this method.