29 std::string
host =
"127.0.0.1";
constexpr size_t MAX_BACKPRESSURE_THRESHOLD
constexpr int MAX_RETRIES_LIMIT
constexpr unsigned DEFAULT_CONNECTION_TIMEOUT_MS
constexpr unsigned MIN_RETRY_INTERVAL_MS
constexpr unsigned MAX_RETRY_INTERVAL_MS
constexpr unsigned DEFAULT_RETRY_INTERVAL_MS
constexpr size_t MIN_BACKPRESSURE_THRESHOLD
constexpr int DEFAULT_MAX_RETRIES
constexpr size_t DEFAULT_BACKPRESSURE_THRESHOLD
TcpClientConfig(const TcpClientConfig &)=default
void validate_and_clamp()
TcpClientConfig & operator=(const TcpClientConfig &)=default
TcpClientConfig(TcpClientConfig &&) noexcept=default
unsigned connection_timeout_ms
unsigned retry_interval_ms
size_t backpressure_threshold
TcpClientConfig()=default