mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-01-16 09:48:13 -05:00
17 lines
547 B
C#
17 lines
547 B
C#
using Common.Configuration.DownloadClient;
|
|
|
|
namespace Infrastructure.Http;
|
|
|
|
/// <summary>
|
|
/// Interface for a provider that creates HTTP clients dynamically based on client configuration
|
|
/// </summary>
|
|
public interface IDynamicHttpClientProvider
|
|
{
|
|
/// <summary>
|
|
/// Creates an HTTP client configured for the specified download client
|
|
/// </summary>
|
|
/// <param name="clientConfig">The client configuration</param>
|
|
/// <returns>A configured HttpClient instance</returns>
|
|
HttpClient CreateClient(ClientConfig clientConfig);
|
|
}
|