socket.io-zeromq-emitter
socket.io emitter zeromq implementation.
Installing
$ npm install socket.io-zeromq-emitter
zeromq version required >= 4.0.4
Usage
var emitter = ;;
API
socket.io-zeromq-emitter
API is virtually the same as socket.io-emitter.
Emitter(opts)
The following options are allowed:
- key: the name of the key to pub/sub events on as prefix (socket.io-zmq)
- host: host to connect to socket.io-zeromq-server on (127.0.0.1)
- port: port to connect to socket.io-zeromq-server on (5555)
Testing
$ make test
TODO
more test !!
License
See the LICENSE
.