F
F
Forrest_Gump2015-09-26 17:51:53
Node.js
Forrest_Gump, 2015-09-26 17:51:53

How to send a message to a user in a specific room?

As you know, each client can be in one or more rooms.
Question: how to send a message to a given client in a given room?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikiforov, 2015-09-26
@eoffsock

io.to('some room').emit('some event');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question