-
Notifications
You must be signed in to change notification settings - Fork 301
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 capture EOF error? #398
Comments
Same question. Also a question, is this program still being maintained? Or should I still turn to gorilla |
@bilinxing switching back to gorilla seems to be promising now as they unarchived their repos 🎉 |
See #402 re maintenance. As for your question, see https://pkg.go.dev/nhooyr.io/websocket#CloseError |
Also opened #406 to document this better. The documentation of my library just isn't good enough which is why these kinds of issues keep coming up. I need better examples that demonstrate how to use the library with perfect correctness. |
wsjson
doesn't return any error that matches with io.EOF.Then how to detect if a client disconnects?
The text was updated successfully, but these errors were encountered: