question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for browsers that don't support websockets

See original GitHub issue

I was browsing your code and noticed that you don’t have any support for browsers that don’t support websockets. So my assumption would be that this line would fail since there wouldn’t be WebSocket() in the global namespace.

Are you planning to support for browsers that don’t support websockets? Maybe switching to something similar to Socket.IO would be a good alternative. This would also solve your reconnecting problem (#7).

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
tjmehtacommented, Apr 4, 2016

I have a ton of work done with this: https://github.com/tjmehta/rethinkdb-primusinit branch I am currently writing browser tests for it.

If you’re not wanting to use primus I have broken down @mikemintz work into a bunch of modules: https://github.com/tjmehta/rethinkdb-validator-stream https://github.com/tjmehta/rethinkdb-stream-chunker https://github.com/tjmehta/validate-reql https://github.com/tjmehta/ast-to-reql

0reactions
GeoffreyPlittcommented, Sep 2, 2016

Cool, thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Web Sockets | Can I use... Support tables for HTML5, CSS3, etc
Web Sockets · Global · unprefixed: · Chrome · Edge * · Safari · Firefox · Opera · IE.
Read more >
What browsers support HTML5 WebSocket API?
Hixie-75: · Chrome 4.0 + 5.0 · Safari 5.0.0 · HyBi-00/Hixie-76: · Chrome 6.0 - 13.0 · Safari 5.0.2 + 5.1 · iOS...
Read more >
Browser Support - Crossbar.io
The above browsers all offer native WebSocket support. ... (ARMv6 e.g. Samsung Galaxy ACE) or that do not have the option to run...
Read more >
Cross Browser Compatibility Score of Web Sockets
Browser Support for Web Sockets · Chrome · Safari · Firefox · IE Internet Explorer · Opera · Edge ...
Read more >
Chapter 5. WebSocket Compatibility - O'Reilly
Chapter 5. WebSocket Compatibility · Internet Explorer 10 · Firefox 6 · Chrome 14 · Safari 6.0 · Opera 12.1 · iOS Safari...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found