Server-sent events

most people don’t know that regular old HTTP provides a mechanism to push data from the server to clients via Server-Sent Events - Do you really need WebSockets?

Example

  • Super simple chat with Sinatra (ruby)
Written on June 4, 2020, Last update on June 4, 2020
web socket