Server-Sent Events "channel" where all messages are broadcasted to all connected clients, history is maintained automatically and server attempts to keep clients alive by sending "keep-alive" packets automatically.
This is a small addition that optionally allows custom messages for the automatic ping, replacing the generic ":" string.
A test case for the new behavior is included.
Feel free to give me any feedback, if you'd like something to be changed.
This is a small addition that optionally allows custom messages for the automatic ping, replacing the generic ":" string. A test case for the new behavior is included.
Feel free to give me any feedback, if you'd like something to be changed.