Closed dubiousdavid closed 7 years ago
Don't you mean new RobustWebSocket
? Also if you use wss
are you also connecting from a page on |hyyps`?
Sorry, I updated the code sample. I'm doing an ES6 import earlier in the code.
Yes, it's connecting from an https
page: https://dubiousdavid.github.io/muv.js/examples/websocket/
That example uses ReconnectingWebSocket not RobustWebSocket. See line 4472.
A vanilla JS example (not babel, not using a framework) would help.
Here's my working codepen of 0.2.0. Reopen if you have more insights.
0.1.0
works great, but0.2.0
is not reconnecting for me. Here is my logic (uses Kefir FRP):