DefaultClientConnectionConfig
Default implementation for configuring a client connection.
This class extends ClientConnectionConfig
and sets default values for the host, port, and protocol properties, providing a simple way to define a client connection with minimal customization.
Parameters
The hostname or IP address of the server to connect to. Defaults to "localhost".
The port number used for establishing the connection. If not specified, the default port for the specified protocol will be used.
The protocol used for the connection, such as HTTP or HTTPS. Defaults to HTTPS.
Properties
The maximum duration to wait while establishing a connection to the server. Defaults to 15 seconds.
A computed property that constructs the URL endpoint for health check requests.
Provides access to the current JSON serialization and deserialization configuration.
Constructs the URL endpoint for sending or receiving messages.
An optional delay duration before attempting to reconnect after a connection loss.
The maximum duration to wait for an individual HTTP request to complete. Defaults to 5 seconds.