We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e2016ac + 8060f3a commit e3a2d32Copy full SHA for e3a2d32
README.md
@@ -102,6 +102,8 @@ Advantages of [gorilla/websocket](https://github.com/gorilla/websocket):
102
- Mature and widely used
103
- [Prepared writes](https://pkg.go.dev/github.com/gorilla/websocket#PreparedMessage)
104
- Configurable [buffer sizes](https://pkg.go.dev/github.com/gorilla/websocket#hdr-Buffers)
105
+- No extra goroutine per connection to support cancellation with context.Context. This costs nhooyr.io/websocket 2 KB of memory per connection.
106
+ - Will be removed soon with [context.AfterFunc](https://github.com/golang/go/issues/57928). See [#411](https://github.com/nhooyr/websocket/issues/411)
107
108
Advantages of nhooyr.io/websocket:
109
0 commit comments