Rooms is a minimalistic, easy-to-use messaging service that utilizes the publish/subscribe pattern. It's designed to work seamlessly with just a plain WebSocket implementation, requiring no additional client libraries.
The publish/subscribe pattern is a messaging paradigm where messages are published without the knowledge of what or if any subscriber of the data exists. It offers a high level of flexibility and scalability. Learn more about this pattern on Wikipedia.
Refer to the example provided for a practical guide.