WebsocketBroadcastString

Send a text string to all clients connected to the Streamer.bot WebSocket Server

public void WebsocketBroadcastString(string data)
data
string required

The text to send to connected clients

void
using System;
public class CPHInline
{
    public bool Execute()
    {
        //Define data you want to send
        string data = "Hello, world!";

        //Broadcast data to clients
        CPH.WebsocketBroadcastString(data); 
        return true;
    }
}