connect

fun connect(url: String, code: String? = null): Promise<Unit>

Federates the cluster with the site listening at url (ws://host:port), presenting code if it requires one