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

github.com/gorilla/websocket #126

Closed
gedw99 opened this issue Jan 3, 2022 · 0 comments
Closed

github.com/gorilla/websocket #126

gedw99 opened this issue Jan 3, 2022 · 0 comments

Comments

@gedw99
Copy link

gedw99 commented Jan 3, 2022

Is there any reason why this ws lib has to be used ?

I would like to change to https://pkg.go.dev/nhooyr.io/websocket ( https://github.com/nhooyr/websocket )

The API is a bit different from what gorilla/websocket offers, and one of the big advantages I see is that it solves a problem with a proper WebSocket closing handshake which is a bit hard to do right with Gorilla WebSocket ( gorilla/websocket#448)

nhooyr also supports WASM which makes it possible to build WASM based clients.

@gedw99 gedw99 closed this as completed Jan 4, 2022
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