4 references to RequestSnapshot
Microsoft.Extensions.Http.Resilience (2)
Hedging\Internals\RequestMessageSnapshotStrategy.cs (1)
32
context.Properties.Set(ResilienceKeys.
RequestSnapshot
, snapshot);
Hedging\ResilienceHttpClientBuilderExtensions.Hedging.cs (1)
85
if (!args.PrimaryContext.Properties.TryGetValue(ResilienceKeys.
RequestSnapshot
, out var snapshot))
Microsoft.Extensions.Http.Resilience.Tests (2)
Hedging\StandardHedgingTests.cs (1)
123
primary.Properties.Set(ResilienceKeys.
RequestSnapshot
, snapshot);
Internal\RequestMessageSnapshotStrategyTests.cs (1)
28
context.Properties.GetValue(ResilienceKeys.
RequestSnapshot
, null!).Should().NotBeNull();