Install dependencies with yarn (or npm)
Run the service with node app/index.js
Connect from socket and join the rooms you want to listen to and add event hooks:
var mySocket = io();
mySocket.emit('join', 'my-room');
mySocket.on('echo', function(e) { console.log('my-room echo', e); });
POST events to /events/<room>/<event>, the event will be forwarded
to the connected sockets./log/statsA docker image is available:
docker run -d -p 5005:5005 zoomeranalytics/socket.io-gateway:1.0.1 node index.jsContent type
Image
Digest
Size
284.3 MB
Last updated
almost 7 years ago
docker pull kosmos367/socket.io-gateway