6 references to DefaultHttpClientFactory
Microsoft.Extensions.Http (6)
DefaultHttpClientFactory.cs (2)
21private static readonly TimerCallback _cleanupCallback = (s) => ((DefaultHttpClientFactory)s!).CleanupTimer_Tick(); 99() => _services.GetRequiredService<ILoggerFactory>().CreateLogger<DefaultHttpClientFactory>(),
DependencyInjection\HttpClientFactoryServiceCollectionExtensions.cs (3)
40services.TryAddSingleton<DefaultHttpClientFactory>(); 41services.TryAddSingleton<IHttpClientFactory>(serviceProvider => serviceProvider.GetRequiredService<DefaultHttpClientFactory>()); 42services.TryAddSingleton<IHttpMessageHandlerFactory>(serviceProvider => serviceProvider.GetRequiredService<DefaultHttpClientFactory>());
IHttpMessageHandlerBuilderFilter.cs (1)
9/// Used by the <see cref="DefaultHttpClientFactory"/> to apply additional initialization to the configure the