ClientConnectionConfig
abstract class ClientConnectionConfig(val host: String, port: Int? = null, val protocol: URLProtocol = URLProtocol.HTTPS, val headers: Map<String, String> = emptyMap(), val reconnectionDelay: Duration? = null, val requestTimeout: Duration? = 5.seconds, val connectTimeout: Duration? = 15.seconds) : ConnectionConfig(source)
Configuration details for managing client connections.
Inheritors
Constructors
Properties
Link copied to clipboard
The maximum duration to wait while establishing a connection to the server. Defaults to 15 seconds.
Link copied to clipboard
A computed property that constructs the URL endpoint for health check requests.
Link copied to clipboard
Provides access to the current JSON serialization and deserialization configuration.
Link copied to clipboard
Constructs the URL endpoint for sending or receiving messages.
Link copied to clipboard
An optional delay duration before attempting to reconnect after a connection loss.
Link copied to clipboard
The maximum duration to wait for an individual HTTP request to complete. Defaults to 5 seconds.