Rooms

Think of rooms as a way to group connections interested in a set of events. A real-world example might include a chat application that allows users to discuss various topics such as sports, music, or cooking. In this simple example, you might consider creating rooms for each topic, which would be a good approach.

As your application's user base grows, a single room per topic might not cater to the discussions at the level of granularity your users require. At this point, you may decide to group users by categories within each topic. This is where rooms play a vital role in ensuring that relevant content is delivered to interested users and appropriate permissions are applied.

About This Section

In this section, we will cover the technical setup of rooms from the application perspective and how to introduce access controls to ensure that content is delivered to relevant users.

    On this page