- No messages yet. Say hello!
Chat with Server-Sent Events
Open this page in two windows and start chatting. Sending a message is a normal POST request. The server keeps a list of all open Server-Sent Events streams and pushes each new message to every one of them. If the connection drops, the browser reconnects with the id of the last message it received (Last-Event-ID), and the server sends everything it missed.
Without JavaScript, the form still works: the page reloads with the new message. The last 50 messages of the past hour are kept in the memory of the server, so please be nice.