igrigorik / em-websocket

EventMachine based WebSocket server
http://www.igvita.com/2009/12/22/ruby-websockets-tcp-for-the-browser/
MIT License
1.69k stars 187 forks source link

How can I send a message to a particular subscriber in a channel using his subsriber id? #133

Closed SyedTayyab closed 8 years ago

SyedTayyab commented 9 years ago

I want to use the subscription id of a user to send him a message. Something like this:

@channel.push(subscriber_id, data)
ikataitsev commented 9 years ago

Could you be more specific about what your goal is? There are no terms like "subscriber" and "channel" used in em-websocket library.