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