mirror of https://github.com/abpframework/abp.git
3 changed files with 15 additions and 5 deletions
@ -1,9 +1,19 @@ |
|||||
using Volo.Abp.Http.Client.ClientProxying; |
using System.Net.Http; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
|
||||
namespace Volo.Abp.Http.Client.DynamicProxying |
namespace Volo.Abp.Http.Client.DynamicProxying |
||||
{ |
{ |
||||
public class DynamicHttpProxyInterceptorClientProxy<TService> : ClientProxyBase<TService> |
public class DynamicHttpProxyInterceptorClientProxy<TService> : ClientProxyBase<TService> |
||||
{ |
{ |
||||
|
public virtual async Task<T> CallRequestAsync<T>(ClientProxyRequestContext requestContext) |
||||
|
{ |
||||
|
return await base.RequestAsync<T>(requestContext); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<HttpContent> CallRequestAsync(ClientProxyRequestContext requestContext) |
||||
|
{ |
||||
|
return await base.RequestAsync(requestContext); |
||||
|
} |
||||
} |
} |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue