SocketCluster / socketcluster-client

JavaScript client for SocketCluster
MIT License
291 stars 92 forks source link

Feature detect WebSocket #66

Closed FireSt-dead closed 7 years ago

FireSt-dead commented 7 years ago

We work in nodelike environment, that does not have the APIs for ws but have WebSocket polyfill.

jondubois commented 7 years ago

@FireSt-dead Ok merged. Thanks.

zalmoxisus commented 7 years ago

Since this breaks usage on React Native (see #67 and https://github.com/zalmoxisus/remote-redux-devtools/issues/51), I'd suggest just to se an alias for ws inside your app.

PanayotCankov commented 7 years ago

@jondubois Thank you for fixing this for both React and us instead of just reverting the change. @zalmoxisus I am sorry for the troubles.