Called for each new connection when it is created. Connection is passed to the event handler
Called for each connection before it is destroyed. Connection is passed to the event handler
Unique name for the middleware.
Module load order. Defaults to api.config.general.defaultMiddlewarePriority.
Generated using TypeDoc
var connectionMiddleware = { name: 'connection middleware', priority: 1000, create: (connection) => { // do stuff }, destroy:(connection) => { // do stuff } }