public int WebsocketCustomServerGetConnectionByName(string name)
The configured name of the WebSocket server
int
using System;
public class CPHInline
{
public bool Execute()
{
//Get index of custom websocket server named "Test"
//Index is from top to bottom of the clients list, starting at 0
int index = CPH.WebsocketCustomServerGetConnectionByName("Test");
return true;
}
}