You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, instead of returning an error when the close code/reason are invalid, we should just print to stderr like net/http as no one will ever check Close's error, in normal usage anyway.
The text was updated successfully, but these errors were encountered:
https://www.reddit.com/r/golang/comments/bi2tan/nhooyrwebsocket_a_minimal_and_idiomatic_websocket/em1jn6d/?context=3
The close only happens for the first call.
Also, instead of returning an error when the close code/reason are invalid, we should just print to stderr like net/http as no one will ever check Close's error, in normal usage anyway.
The text was updated successfully, but these errors were encountered: