|
|
@ -1,5 +1,6 @@ |
|
|
using System; |
|
|
using System; |
|
|
using System.Collections.Generic; |
|
|
using System.Collections.Generic; |
|
|
|
|
|
using System.Net.Http; |
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
|
|
|
|
|
|
namespace Volo.Abp.Http.Client |
|
|
namespace Volo.Abp.Http.Client |
|
|
@ -10,10 +11,13 @@ namespace Volo.Abp.Http.Client |
|
|
|
|
|
|
|
|
internal HashSet<string> ConfiguredProxyClients { get; } |
|
|
internal HashSet<string> ConfiguredProxyClients { get; } |
|
|
|
|
|
|
|
|
|
|
|
public List<Action<string, IServiceProvider, HttpClient>> ProxyClientActions { get; } |
|
|
|
|
|
|
|
|
public AbpHttpClientBuilderOptions() |
|
|
public AbpHttpClientBuilderOptions() |
|
|
{ |
|
|
{ |
|
|
ProxyClientBuildActions = new List<Action<string, IHttpClientBuilder>>(); |
|
|
ProxyClientBuildActions = new List<Action<string, IHttpClientBuilder>>(); |
|
|
ConfiguredProxyClients = new HashSet<string>(); |
|
|
ConfiguredProxyClients = new HashSet<string>(); |
|
|
|
|
|
ProxyClientActions = new List<Action<string, IServiceProvider, HttpClient>>(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|