Class DynamicHttpProxyInterceptor<TService>
Inheritance
object
DynamicHttpProxyInterceptor<TService>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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
| Type |
Description |
| System.Reflection.MethodInfo |
|
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 |
Description |
| System.Threading.Tasks.Task<TResult><T> |
|
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 |
| System.Threading.Tasks.Task |
task |
|
| System.Type |
resultType |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><object> |
|
InterceptAsync(IAbpMethodInvocation)
Declaration
public override Task InterceptAsync(IAbpMethodInvocation invocation)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Overrides
Implements
Extension Methods