You are using socket.io

RxJs Observable has a static method websocket which uses the w3c-compatible WebSocket object provided by the browser (from RxJs documentation).

Which approach would you recommend?

A man with passion for code and for some strange things that sometimes happen in IT organizations. Views and thoughts here are my own.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store