-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebSocket in browser #202
Comments
Two potential solutions:
|
Another solution is to separate WebSocketClient from Terra.js. Some of the reasons:
It has its own reconnecting logic inside, but we (in our infrastructure) decided not to use WebSocketClient module in Terra.js because of the bug we found that sometimes it doesn't work. |
@dakom I would appreciate if you could test the compatibility with |
might be fixed by today, some time passed, but that ws thing with that node-buffer thing, solved, could reduce the polyfill rabbit hole |
Terra.JS is using
ws
which states explicitly:Additionally, attempting to follow the instructions in the documentation from a browser throws an error:
So... how are browser clients supposed to subscribe over RPC/WebSockets?
The text was updated successfully, but these errors were encountered: