feat(lmxproxy): phase 6 — client extras (builder, factory, DI, streaming extensions)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -3,11 +3,17 @@ namespace ZB.MOM.WW.LmxProxy.Client;
|
||||
/// <summary>
|
||||
/// Configuration options for the LmxProxy client, typically set via the builder.
|
||||
/// </summary>
|
||||
public class ClientConfiguration
|
||||
internal class ClientConfiguration
|
||||
{
|
||||
/// <summary>Maximum number of retry attempts for transient failures.</summary>
|
||||
public int MaxRetryAttempts { get; set; } = 0;
|
||||
public int MaxRetryAttempts { get; set; }
|
||||
|
||||
/// <summary>Base delay between retries (exponential backoff applied).</summary>
|
||||
public TimeSpan RetryDelay { get; set; } = TimeSpan.FromSeconds(1);
|
||||
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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user