Hacker News new | ask | show | jobs
by dartos 508 days ago
Question for those in the know:

Why would I use websockets over SSE?

1 comments

Websockets are bidirectional while SSE is unidirectional (server to client). That said, there's nothing stopping you from facilitating client to server communication separately from SSE, you just don't have to build that channel with websockets.