Skip to content

Commit

Permalink
Justify lack of compression support
Browse files Browse the repository at this point in the history
Closes #5
  • Loading branch information
nhooyr committed May 31, 2019
1 parent a696daf commit 15b8365
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -27,7 +27,6 @@ go get nhooyr.io/websocket@v0.2.0
## Roadmap

- [ ] WebSockets over HTTP/2 [#4](https://github.com/nhooyr/websocket/issues/4)
- [ ] Deflate extension support [#5](https://github.com/nhooyr/websocket/issues/5)

## Examples

Expand Down Expand Up @@ -89,6 +88,8 @@ c.Close(websocket.StatusNormalClosure, "")
- net.Conn is never exposed as WebSocket over HTTP/2 will not have a net.Conn.
- Using net/http's Client for dialing means we do not have to reinvent dialing hooks
and configurations like other WebSocket libraries
- We do not support the compression extension because Go's compress/flate library is very memory intensive
and browsers do not handle WebSocket compression intelligently. See [#5](https://github.com/nhooyr/websocket/issues/5)

## Comparison

Expand Down

0 comments on commit 15b8365

Please sign in to comment.