Hi,
IMHO, both websockets and SSE can be used in 2 different context. If we
want to communicate in both ways we can rely on web sockets.
Where as SSE will update the client whenever there is a need. It will
avoid the request from the client. Client listener will be notified
when there are some events are thrown from the server.
In another context, when we want to use Websockets, we need to rely on
completely new protocol (WS). But SSE communication is possible through
plain HTTP protocol. This is more powerful than a new protocol in my
perspective
Thanks,
Tham