You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: for support questions, please use one of these channels: stackoverflow or slack
You want to:
report a bug
request a feature
Current behaviour
The transports available are http polling and websocket.
Steps to reproduce (if the current behaviour is a bug)
N/A
Expected behaviour
To have the option of a new transport available: sse (server-sent events)
Setup
OS: Any
browser: Any (Edge requires a polyfill)
engine.io version: 3.4.0
Other information (e.g. stacktraces, related issues, suggestions how to fix)
Server-sent events have existed for many years now as an option to push events from the server to the browser [1]. It is the ideal mechanism for some use-cases and has the potential to greatly save on power usage on mobile devices [2]. This is the sole transport used by Mercure [3], a new protocol for real-time communications that I believe might become a direct competitor to Socket.io.
Note: for support questions, please use one of these channels: stackoverflow or slack
You want to:
Current behaviour
The transports available are http polling and websocket.
Steps to reproduce (if the current behaviour is a bug)
N/A
Expected behaviour
To have the option of a new transport available: sse (server-sent events)
Setup
Other information (e.g. stacktraces, related issues, suggestions how to fix)
Server-sent events have existed for many years now as an option to push events from the server to the browser [1]. It is the ideal mechanism for some use-cases and has the potential to greatly save on power usage on mobile devices [2]. This is the sole transport used by Mercure [3], a new protocol for real-time communications that I believe might become a direct competitor to Socket.io.
[1] https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events
[2] https://www.smashingmagazine.com/2018/02/sse-websockets-data-flow-http2/
[3] https://github.com/dunglas/mercure
The text was updated successfully, but these errors were encountered: