DefaultClientConnectionConfig

constructor(host: String = "localhost", port: Int? = null, protocol: URLProtocol = URLProtocol.HTTPS)(source)

Parameters

host

The hostname or IP address of the server to connect to. Defaults to "localhost".

port

The port number used for establishing the connection. If not specified, the default port for the specified protocol will be used.

protocol

The protocol used for the connection, such as HTTP or HTTPS. Defaults to HTTPS.