DefaultServerConnectionConfig
class DefaultServerConnectionConfig(val host: String = DEFAULT_HOST, val port: Int = DEFAULT_PORT, val waitConnection: Boolean = DEFAULT_WAIT_CONNECTION) : ServerConnectionConfig(source)
Default implementation of the server connection configuration.
This class provides configuration settings for setting up a server connection, extending the ServerConnectionConfig
base class. It initializes the server port configuration to a default value unless explicitly specified.
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;
waitConnection
Indicates whether the server waits for a first connection before continuing. Set to 'false' by default.