mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-10-30 12:00:40 -04:00
added http digest auth to download clients
This commit is contained in:
1 parent
9f44e0e33f
commit
c16a6753f4
37 files changed
+5376
-66
No files matched your search
+11
-1
@@ -1,3 +1,4 @@
|
||||
using System.Net;
|
||||
using Cleanuparr.Domain.Enums;
|
||||
using Cleanuparr.Persistence.Models.Configuration.General;
|
||||
|
||||
@@ -36,7 +37,16 @@ public interface IDynamicHttpClientFactory
|
||||
/// <summary>
|
||||
/// Registers a configuration for a download client
|
||||
/// </summary>
|
||||
void RegisterDownloadClient(string clientName, int timeout, HttpClientType clientType, RetryConfig retryConfig, CertificateValidationType certificateType, bool sendUserAgent);
|
||||
void RegisterDownloadClient(
|
||||
string clientName,
|
||||
int timeout,
|
||||
HttpClientType clientType,
|
||||
RetryConfig retryConfig,
|
||||
CertificateValidationType certificateType,
|
||||
bool sendUserAgent,
|
||||
HttpAuthType httpAuthType = HttpAuthType.Basic,
|
||||
NetworkCredential? httpAuthCredential = null,
|
||||
Uri? baseUri = null);
|
||||
|
||||
/// <summary>
|
||||
/// Registers a client that opts out of every handler setting and only carries the User-Agent.
|
||||
|
||||
Reference in new issue
Block a user