remote

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.

Parameters

host

The remote launcher's hostname or IP address

port

The remote launcher's port (default 13297)

localPort

The local launcher's port for token generation (default 13297)