igrigorik / em-websocket

EventMachine based WebSocket server

Home Page:http://www.igvita.com/2009/12/22/ruby-websockets-tcp-for-the-browser/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

SyedTayyab opened this issue · comments

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

@channel.push(subscriber_id, data)

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