Skip to content

Commit 1168702

Browse files
Change broadcast data from variable to JSON string
1 parent 3e044f0 commit 1168702

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

streamerbot/3.api/3.csharp/3.methods/core/websocket/websocket-broadcast-json.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ example: |
1616
string json = "{\"foo\":\"bar\"}";
1717
1818
//Broadcast data to clients
19-
CPH.WebsocketBroadcastJson(data);
19+
CPH.WebsocketBroadcastJson(json);
2020
2121
return true;
2222
}
2323
}
24-
---
24+
---

0 commit comments

Comments
 (0)