Class HttpEndpointRoutingOptions
Configures alternate authorities for retry and hedge attempts.
public sealed class HttpEndpointRoutingOptions
- Inheritance
-
HttpEndpointRoutingOptions
- Inherited Members
Remarks
The endpoint list and scalar values are snapshotted with the handler options.
Constructors
HttpEndpointRoutingOptions()
public HttpEndpointRoutingOptions()
Properties
Endpoints
The available endpoint authorities. At least one is required when routing is enabled.
public IList<HttpEndpoint> Endpoints { get; }
Property Value
Seed
The optional deterministic seed used by weighted ordering. A null value selects a random initial order.
public int? Seed { get; set; }
Property Value
- int?
SelectionMode
The endpoint ordering algorithm.
public HttpEndpointSelectionMode SelectionMode { get; set; }
Property Value
ShieldFactory
Optionally creates a shield whose breaker or limiter state is isolated to one authority. The factory is called once per authority per handler.
public Func<Uri, Shield<HttpResponseMessage>>? ShieldFactory { get; set; }
Property Value
- Func<Uri, Shield<HttpResponseMessage>>