<PackageReference Include="Microsoft.Extensions.Http" Version="11.0.0-preview.4.26230.115" />

Microsoft.Extensions.DependencyInjection.SocketsHttpHandlerBuilderExtensions

Extension methods to configure SocketsHttpHandler for a named HttpClient instances returned by IHttpClientFactory.

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)

Uses IConfiguration to configure the primary SocketsHttpHandler for a named HttpClient.