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:
Joseph Doherty
2026-03-22 00:29:16 -04:00
parent 8ba75b50e8
commit 215cfa29f3
12 changed files with 1082 additions and 3 deletions
@@ -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; }
}