WebSocket library for Go
websocket
is a minimal and idiomatic WebSocket library for Go.
Main features:
Minimal and idiomatic API.
First class context.Context support.
Fully passes the WebSocket autobahn-testsuite.
JSON helpers in the wsjson subpackage
Zero alloc reads and writes.
Concurrent writes.
net.Conn wrapper
Ping pong API.
RFC 7692 permessage-deflate compression.
CloseRead helper for write only connections
Compile to Wasm.
Linter | Message | Location |
---|---|---|
No lint warnings ✓ |