Companion

object Companion

Functions

Link copied to clipboard
fun connectToMachine(machine: MachineInfo, localPort: Int = 13297): LauncherClient

Connect to a registered machine. Automatically generates a connection token via the local launcher, then uses it to authenticate with the remote machine.

Link copied to clipboard
fun local(port: Int = 13297): LauncherClient

Connect to the local launcher (no authentication required).

Link copied to clipboard
fun remote(host: String, port: Int = 13297, localPort: Int = 13297): LauncherClient

Connect to a remote launcher. Automatically generates a connection token via the local launcher, then uses it to authenticate with the remote.