Websocket PubSub Demonstration

This page demonstrates how Mongoose web server could be used to implement publish–subscribe pattern. Open this page in several browser windows. Each window initiates persistent WebSocket connection with Mongoose, making each browser window a websocket client. Join a room, send messages, and see messages sent by other clients.

My ID:

Join room: