-
Notifications
You must be signed in to change notification settings - Fork 967
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
how to use these methods? #109
Comments
Finally, I use the method ws.open() to reconnect. But I still don't know why refresh() can't work. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is no change when I use the method refresh() by ws.refresh() when they weren't connected. Why? And when they have been connected, they would just be disconnected and never connect again..
var ws = new ReconnectingWebSocket('ws://localhost:8866/view_tool'); $("#btn_reconnect").click(function(){ ws.refresh(); });
The text was updated successfully, but these errors were encountered: