Skip to content
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

useWebSockets: Keep wsRef when ping fails for auto reconnect #4182

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

freakbite
Copy link
Contributor

My suggestion for solving issue #4181, stop using the same close method to achieve two different results.

A small side effect of this is that when a connection is permanently closed it can't be reopened again by changed the url.

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. enhancement New feature or request labels Aug 29, 2024
@freakbite freakbite changed the title Keep wsRef when ping fails for auto reconnect useWebSockets: Keep wsRef when ping fails for auto reconnect Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant