clarification on example in the README
jcohenho opened this issue · 2 comments
jcohenho commented
Thank you for this library! I have a question about the example in the README. How are you passing the the chatID
and userID
from the Rails app when setting the channel name in chat_${chatId}_${userId}
?
tonton-k commented
just fetch the data somehow. for instance: make an API server in order to collect it so, then make a connection to your ws.
kesha-antonov commented
just fetch the data somehow. for instance: make an API server in order to collect it so, then make a connection to your ws.
This suggestion is correct.