Files
ScadaBridge/lmxproxy/src/ZB.MOM.WW.LmxProxy.Client/ClientConfiguration.cs
T
2026-03-22 00:29:16 -04:00

20 lines
706 B
C#

namespace ZB.MOM.WW.LmxProxy.Client;
/// <summary>
/// Configuration options for the LmxProxy client, typically set via the builder.
/// </summary>
internal class ClientConfiguration
{
/// <summary>Maximum number of retry attempts for transient failures.</summary>
public int MaxRetryAttempts { get; set; }
/// <summary>Base delay between retries (exponential backoff applied).</summary>
public TimeSpan RetryDelay { get; set; }
/// <summary>Whether client-side metrics collection is enabled.</summary>
public bool EnableMetrics { get; set; }
/// <summary>Optional header name for correlation ID propagation.</summary>
public string? CorrelationIdHeader { get; set; }
}