startClient

suspend fun startClient(serverAddress: String, useTls: Boolean, client: Client)

Start a Flower client node which connects to a Flower server.

Parameters

serverAddress

The IPv4 or IPv6 address of the server. If the Flower server runs on the same machine on port 8080, then server_address would be “:::8080”.

useTLS

Whether to use TLS to connect to the Flower server.

client

The Flower client implementation.