Skip to main content

WebSocketAPI

MethodHTTPDescription
ConnectStatsWebSocketGET /get/my/statsLive 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.