Skip to content

Get Joined Rooms — Reference

Reference · Advanced · Server Connect

Read the application rooms joined by the current socket.

Read the application rooms joined by the current socket.

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

Read the application rooms joined by the current socket.

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.

Join a disposable room, read Get Joined Rooms and confirm the room name appears. Leave and check again.

The result is an array of room names; the module excludes the socket’s own private ID room. With no current socket it returns an empty array. It does not list all application users or permissions.

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.