WebSocketAPI
| Method | HTTP | Description |
|---|---|---|
ConnectStatsWebSocket | GET /get/my/stats | Live statistics WebSocket |
response, err := client.WebSocketAPI.
ConnectStatsWebSocket(context.Background()).
Token(apiToken).
Execute()
ConnectStatsWebSocket performs the generated connection request for the live
statistics endpoint. Keep the returned HTTP response when diagnosing an upgrade
or authentication failure. Full duplex streaming usually needs a dedicated
WebSocket client after a successful handshake.