DefaultServerConnectionConfig

constructor(host: String? = null, port: Int? = null, awaitInitialConnection: Boolean? = null, awaitInitialConnectionTimeout: Duration? = null)(source)

Parameters

host

The hostname or IP address of the server to connect to. Defaults to '127.0.0.1';

port

The port number on which the server will listen to. Defaults to 50881;

awaitInitialConnection

Indicates whether the server waits for a first connection before continuing. Set to 'false' by default.

awaitInitialConnectionTimeout

The timeout duration for waiting for the first connection.