Skip to content

Join Room — Reference

Reference · Advanced · Server Connect

Add the current socket to a named room.

Add the current socket to a named room.

  • A Node.js project with Socket.IO configured and connected test clients. Socket-specific operations must run in a socket action.

Add the current socket to a named room.

Setting Meaning
NameThe step identifier used for results in the server action. Sending/joining steps do not return a delivery receipt merely because they have a name.
RoomThe application room to target, join or leave. Use a server-approved room name. A room is a routing group, not an authentication permission.

In an authorized test socket action, join room project-1. Read the joined rooms and send a room-limited test event to confirm membership. Verify that another client outside the room receives nothing.

Joining a room is not an access-control check. Check that the authenticated user may join the requested project/room before this step. It requires current socket context; it does not join every connection belonging to a user automatically.

Use client event handlers or the appropriate Server Connect subscription to update the page. Keep authorization, persistence and event delivery as explicit parts of the workflow.

You can choose the intended recipients/context and verify the event or room behavior with test clients.