github.com/nhooyr/websocket (go): Package websocket implements the RFC 6455 WebSocket protocol.  https://tools.ietf.org/html/rfc6455  Use Dial to dial a WebSocket server.  Use Accept to accept a WebSocket client.  Conn represents the resulting WebSocket connection.  The examples are the best way to understand how to correctly use the library.  The wsjson and wspb subpackages contain helpers for JSON and protobuf messages.  More documentation at https://nhooyr.io/websocket.  The client side supports compiling to Wasm. It wraps the WebSocket browser API.  See https://developer.mozilla.org/en-US/docs/Web/API/WebSocket  Some important caveats to be aware of:   This example demonstrates a echo server.   This example demonstrates full stack chat with an automated test.
Keywords: go|http2|idiomatic|minimal|websocket