@microfleet/plugin-router-socketio
v4.0.1
Published
Socket.io transport adapter for router
Downloads
163
Readme
Microfleet plugin-router-socketio
Attach socket.io transport to router.
Typical usage
const service = new Microfleet({
name: 'tester',
plugins: [
'validator', // essential plugin
'logger', // essential plugin
'socketio', // init socket.io
'hapi', // init http and attach socket.io
'router', // init router
'router-socketio' // attach socket.io transport to router
],
hapi: {
attachSocketio: true,
},
})