Skip to content

Servers and Clients

Nathan edited this page Jun 15, 2021 · 1 revision

Available as of 0.41, websockets add another level to what you can do with Channel Points Handler

Websocket Server

Connect to CPH with a websocket client, whether its from JS, or some other language, and react to events that happen within CPH in real time, and/or even from custom events you can emit from within the Execute C# Code

See Websocket Server for more details on the Websocket Server

Websocket Clients

Connect to other websocket servers and setup an action in Execute C# Code to react to events that are emitted by the the server. One example is to connect to the Data Puller Beat Saber mod and do various things depending on the data that is pushed out

NOTE Currently, due to the nature of the Websocket Client, the only real use for these is within the Execute C# code, sub-action will likely be created in due time.

See Websocket Clients for more details on the Websocket Clients

Clone this wiki locally