5 ms·
For the SSE example, Safari only streams HTML, not plain text AFAIK. It should work if you use the endpoint with the `EventStream` constructor. As for the WS e
by lucacasonato 5y ago
For the SSE example, Safari only streams HTML, not plain text AFAIK. It should work if you use the endpoint with the `EventStream` constructor.
As for the WS example: it is a WebSocket endpoint, so you must connect to it using `new WebSocket` :-)
- eyelidlessness 5y agoThanks, this makes sense. Weird examples to link to, but at least I understand the behavior now.