Cleanuparr v2 (#166)

This commit is contained in:
Flaminel
2025-06-27 15:39:26 +03:00
committed by GitHub
parent aab0487020
commit bc306a37c9
682 changed files with 54593 additions and 9488 deletions

View File

@@ -0,0 +1,16 @@
using Cleanuparr.Persistence.Models.Configuration;
namespace Cleanuparr.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="downloadClientConfig">The client configuration</param>
/// <returns>A configured HttpClient instance</returns>
HttpClient CreateClient(DownloadClientConfig downloadClientConfig);
}