Class DynamicHttpProxyInterceptor<TService>
Inheritance
DynamicHttpProxyInterceptor<TService>
Assembly: Volo.Abp.Http.Client.dll
Syntax
public class DynamicHttpProxyInterceptor<TService> : AbpInterceptor, IAbpInterceptor, ITransientDependency
Type Parameters
Name |
Description |
TService |
|
Constructors
DynamicHttpProxyInterceptor(DynamicHttpProxyInterceptorClientProxy<TService>, IOptions<AbpHttpClientOptions>, IProxyHttpClientFactory, IRemoteServiceConfigurationProvider, IApiDescriptionFinder)
Declaration
public DynamicHttpProxyInterceptor(DynamicHttpProxyInterceptorClientProxy<TService> interceptorClientProxy, IOptions<AbpHttpClientOptions> clientOptions, IProxyHttpClientFactory httpClientFactory, IRemoteServiceConfigurationProvider remoteServiceConfigurationProvider, IApiDescriptionFinder apiDescriptionFinder)
Parameters
Properties
ApiDescriptionFinder
Declaration
protected IApiDescriptionFinder ApiDescriptionFinder { get; }
Property Value
CallRequestAsyncMethod
Declaration
protected static MethodInfo CallRequestAsyncMethod { get; }
Property Value
ClientOptions
Declaration
protected AbpHttpClientOptions ClientOptions { get; }
Property Value
HttpClientFactory
Declaration
protected IProxyHttpClientFactory HttpClientFactory { get; }
Property Value
InterceptorClientProxy
Declaration
protected DynamicHttpProxyInterceptorClientProxy<TService> InterceptorClientProxy { get; }
Property Value
Logger
Declaration
public ILogger<DynamicHttpProxyInterceptor<TService>> Logger { get; set; }
Property Value
RemoteServiceConfigurationProvider
Declaration
protected IRemoteServiceConfigurationProvider RemoteServiceConfigurationProvider { get; }
Property Value
Methods
CallRequestAsync<T>(ClientProxyRequestContext)
Declaration
protected virtual Task<T> CallRequestAsync<T>(ClientProxyRequestContext context)
Parameters
Returns
Type Parameters
GetActionApiDescriptionModel(IAbpMethodInvocation)
Declaration
protected virtual Task<ActionApiDescriptionModel> GetActionApiDescriptionModel(IAbpMethodInvocation invocation)
Parameters
Returns
GetResultAsync(Task, Type)
Declaration
protected virtual Task<object> GetResultAsync(Task task, Type resultType)
Parameters
Type |
Name |
Description |
Task |
task |
|
Type |
resultType |
|
Returns
InterceptAsync(IAbpMethodInvocation)
Declaration
public override Task InterceptAsync(IAbpMethodInvocation invocation)
Parameters
Returns
Overrides
Implements
Extension Methods