startCommunicate(...args)

Starts a WebSocket communication channel to receive proxy events.

startCommunicate(comType, port, password)

Parameters

  • comType (number) – Communication type (e.g., 1 = WebSocket).

  • port (number) – Local port to bind the listener.

  • password (string) – Token/secret for authentication.

Return Value

void or number : Starts a WebSocket communication channel

Example

// example

sdk.startCommunicate(1, 8881, "token");

Last updated

Was this helpful?