Everything 'just works', yet you needed to create your own server for it which needs scripting support?
IMO 'just works' means Apache suupports it out of the box with a simple config file and you can just start sending messages to client IPs.
IMO 'just works' means Apache suupports it out of the box with a simple config file and you can just start sending messages to client IPs.
while true; do
curl example.com/sse | handle-messages.sh
done
Because it's just text-over-http. This isn't possible with websockets without some kind of custom client and layer 7 protocol stack.In this way SSE and WebSockets are exactly the same. They are HTTP requests that you keep open. To firewalls and other network equipment both look the same. They look like long lived http requests, because that is what they are.