How to use the buttplug.ButtplugWebsocketClient function in buttplug

To help you get started, we’ve selected a few buttplug examples, based on popular ways it is used in public projects.

github metafetish / syncydink / src / components / ButtplugPanel / ButtplugPanel.ts View on Github external
public async ConnectWebsocket(aConnectObj: ButtplugStartConnectEvent) {
    const buttplugClient = new ButtplugWebsocketClient(aConnectObj.clientName);
    await buttplugClient.Connect(aConnectObj.address);
    await this.InitializeConnection(buttplugClient);