4 ms·
MDN disagrees. See the huge red warning here https://developer.mozilla.org/en-US/docs/Web/API/EventSource https://developer.mozilla.org/en-US/docs/Web/API/Event
by kaoD 2y ago
MDN disagrees. See the huge red warning here https://developer.mozilla.org/en-US/docs/Web/API/EventSource https://developer.mozilla.org/en-US/docs/Web/API/EventSource
Unless you mean on HTTP2? But aren't WS connections also multiplexed over HTTP2 in that case?
- koakuma-chan 2y ago> MDN disagrees. See the huge red warning here https://developer.mozilla.org/en-US/docs/Web/API/EventSource https://developer.mozilla.org/en-US/docs/Web/API/EventSource It should say "When used over HTTP/1" instead of "When not used over HTTP/2" because nowadays we also have HTTP/3, and browsers barely even use HTTP/1, so I would say it's pretty safe to ignore that warning. > Unless you mean on HTTP2? Any version of HTTP that supports multiplexing. > But aren't WS connections also multiplexed over HTTP2 in that case? There is RFC 8441 but I don't think it's actually implemented in the browsers.
- kaoD 2y ago> There is RFC 8441 but I don't think it's actually implemented in the browsers. Found this: https://github.com/mattermost/mattermost/issues/30285 https://github.com/mattermost/mattermost/issues/30285
- koakuma-chan 2y agohttps://chromestatus.com/feature/6251293127475200 https://chromestatus.com/feature/6251293127475200 It looks like it's supported in Chrome and Firefox but not in Safari.
- deleted 2y ago[deleted]