primus-router
v0.0.2
Published
RESTful routing for primus websockets
Downloads
4
Readme
primus-router
RESTful routing for primus websockets
var router = require('primus-router')();
primus.use('router', router);
router.connect(visitController.create);
router.post('/user', userController.create);
Installation
$ npm install primus-router