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?
- A WebSocket Is an HTTP Request That Stops Being HTTP - websocket is hidding itself as regular http request
# Example
- Super simple chat with Sinatra (ruby)
Written on June 4, 2020, Last update on June 4, 2020
web
socket