Skip to content

Stackable Router instances

Compare
Choose a tag to compare
@NathanGRomano NathanGRomano released this 27 Jun 23:33
· 44 commits to master since this release

Router instances are now stackable

var  Router = require('socket.io-events');
var a = Router();
var b = Router();
a.use(b);
var io = require('socket.io')(3000);
io.use(a);