News for hackers. Stuff that matters.
Re:WebSockets vs. Server-Sent-Events vs. Long-Polling vs. We... by paulgb on Monday March 18, 2024 @02:49PM (#39748348)
It does, but if you're calling it from the browser you can't add arbitrary data to them (the way you can in e.g. a `fetch`)
Re:WebSockets vs. Server-Sent-Events vs. Long-Polling vs. We... by makkesk8 on Monday March 18, 2024 @04:21PM (#39749498)
Someone at Azure thought of this[1]

[1] https://github.com/Azure/fetch-event-source

Re:WebSockets vs. Server-Sent-Events vs. Long-Polling vs. We... by pier25 on Monday March 18, 2024 @06:43PM (#39750940)
> you can't add arbitrary data to them

What about intercepting the request with a service worker?