9 references to HttpClientFactory
Microsoft.Extensions.Http.Resilience.PerformanceTests (9)
HedgingBenchmark.cs (2)
15
private static readonly Uri _uri = new(
HttpClientFactory
.PrimaryEndpoint);
23
var serviceProvider =
HttpClientFactory
.InitializeServiceProvider(Type);
HttpResilienceBenchmark.cs (5)
15
private static readonly Uri _uri = new(
HttpClientFactory
.PrimaryEndpoint);
36
var serviceProvider =
HttpClientFactory
.InitializeServiceProvider(HedgingClientType.Ordered, HedgingClientType.NoRoutes);
38
_client = factory.CreateClient(
HttpClientFactory
.EmptyClient);
39
_standardClient = factory.CreateClient(
HttpClientFactory
.StandardClient);
40
_singleHandlerClient = factory.CreateClient(
HttpClientFactory
.SingleHandlerClient);
RetryBenchmark.cs (1)
19
private static readonly Uri _uri = new(
HttpClientFactory
.PrimaryEndpoint);
StandardResilienceBenchmark.cs (1)
19
private static readonly Uri _uri = new(
HttpClientFactory
.PrimaryEndpoint);