Microsoft.Extensions.DependencyInjection.SocketsHttpHandlerBuilderExtensions
Extension methods to configure SocketsHttpHandler for a named
HttpClient instances returned by IHttpClientFactory.
public static ISocketsHttpHandlerBuilder Configure(this ISocketsHttpHandlerBuilder builder, Action<SocketsHttpHandler, IServiceProvider> configure)
Adds a delegate that will be used to configure the primary SocketsHttpHandler for a
named HttpClient.
public static ISocketsHttpHandlerBuilder Configure(this ISocketsHttpHandlerBuilder builder, IConfiguration configuration)