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

System.Net.Http.IHttpClientFactory

public interface IHttpClientFactory
A factory abstraction for a component that can create HttpClient instances with custom configuration for a given logical name.
namespace System.Net.Http { public interface IHttpClientFactory { HttpClient CreateClient(string name); } }