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