News for hackers. Stuff that matters.
Re:WebSockets vs. Server-Sent-Events vs. Long-Polling vs. We... by apitman on Monday March 18, 2024 @04:40PM (#39749730)
One limitation is SSE is text-only, so you can't efficiently send binary data. You have to encode it as base64 or similar.
Re:WebSockets vs. Server-Sent-Events vs. Long-Polling vs. We... by niutech on Saturday March 23, 2024 @07:04AM (#39798995)
There is another alternative to base64: https://github.com/luciopaiva/binary-sse