7 references to ResilienceKeys
Microsoft.Extensions.Http.Resilience (7)
Hedging\Internals\RequestMessageSnapshotStrategy.cs (1)
32
context.Properties.Set(
ResilienceKeys
.RequestSnapshot, snapshot);
Hedging\ResilienceHttpClientBuilderExtensions.Hedging.cs (2)
86
if (!args.PrimaryContext.Properties.TryGetValue(
ResilienceKeys
.RequestSnapshot, out var snapshot))
99
if (args.PrimaryContext.Properties.TryGetValue(
ResilienceKeys
.RoutingStrategy, out var routingPipeline))
Resilience\HttpResilienceContextExtensions.cs (2)
32
return context.Properties.GetValue(
ResilienceKeys
.RequestMessage, default);
44
context.Properties.Set(
ResilienceKeys
.RequestMessage, requestMessage);
Resilience\ResilienceHandler.cs (1)
164
context.Properties.Set(
ResilienceKeys
.RequestMetadata, requestMetadata);
Routing\Internal\RoutingResilienceStrategy.cs (1)
50
context.Properties.Set(
ResilienceKeys
.RoutingStrategy, strategy);