Skip to content

Glossary: Real-Time Apps with WebSockets

Room

Also written: rooms

A named group of sockets on the server, such as `bar` or `counter`. You send an event to a room with `io.to(room).emit`, and a room exists only while it has a socket in it.

Where the book teaches it

Related terms

BroadcastPresence