evroza / telephone-fanout-ec2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multi-group Telephone Fanout backend and client

socket.io key features usedrooms and namespace API With the groups API you can perform various action in a group,Important features can be summed up as:join/leave group AND send messages to server or group

// join and leave
io.on('connection', function(socket){
  socket.join('some group');
  // socket.leave('some group');
});

// say to group
io.to('some group').emit('some event'):
io.in('some group').emit('some event'):
Running examples

运行效果

About

License:MIT License


Languages

Language:JavaScript 60.0%Language:HTML 40.0%