@wyte/socket.io
v1.0.1
Published
socket.io middleware for Wyte
Downloads
1
Readme
socket.io
socket.io middleware for Wyte
Install
npm i @wyte/socket.io
Usage
After creating your app, simply add:
app.Stack.use(require('@wyte/socket.io')).ready(io => {
// Now you can use socket.io
io.on('connection', socket => {
console.log('Socket connected')
})
})