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

end() vs close() in websockets client #167

Open
KamalTolouiFard opened this issue Aug 27, 2024 · 1 comment
Open

end() vs close() in websockets client #167

KamalTolouiFard opened this issue Aug 27, 2024 · 1 comment

Comments

@KamalTolouiFard
Copy link

hello

if i wanted to close the connection and release the socket, witch one i should use? end() or close() ?
thank you

@KamalTolouiFard
Copy link
Author

and how can i check connection state, i mean is there something like isConnected()?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant