websocket
websocket copied to clipboard
Document wsjson.Read closes the connection with the appropriate close status and error message if bad JSON is read
See https://github.com/nhooyr/websocket/issues/399#issuecomment-2103816951