socket.io-jstrace
0.0.2 • Public • Published socket.io-jstrace
jstrace middleware for socket.io
Install
$ npm install --save socket.io-jstrace
Usage
var io = require('socket.io')()
, trace = require('jstrace')
, siotrace = require('socket.io-jstrace')
io.use(siotrace({
trace: trace
}))
io.on('connection', function(socket) {
})
Probes
socket.io:connection:start
socket connected
socket.io:connection:end
socket disconnected
Tests
Coverage
License
MIT
Package Sidebar
Install
Weekly Downloads