Class ClientProxyRequestPayloadBuilder
Inheritance
object
ClientProxyRequestPayloadBuilder
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 ClientProxyRequestPayloadBuilder : ITransientDependency
Constructors
ClientProxyRequestPayloadBuilder(IServiceScopeFactory, IOptions<AbpHttpClientProxyingOptions>)
Declaration
public ClientProxyRequestPayloadBuilder(IServiceScopeFactory serviceScopeFactory, IOptions<AbpHttpClientProxyingOptions> httpClientProxyingOptions)
Parameters
| Type |
Name |
Description |
| Microsoft.Extensions.DependencyInjection.IServiceScopeFactory |
serviceScopeFactory |
|
| Microsoft.Extensions.Options.IOptions<TOptions><AbpHttpClientProxyingOptions> |
httpClientProxyingOptions |
|
Properties
Declaration
protected static MethodInfo CallObjectToFormDataAsyncMethod { get; }
Property Value
| Type |
Description |
| System.Reflection.MethodInfo |
|
HttpClientProxyingOptions
Declaration
protected AbpHttpClientProxyingOptions HttpClientProxyingOptions { get; }
Property Value
ServiceScopeFactory
Declaration
protected IServiceScopeFactory ServiceScopeFactory { get; }
Property Value
| Type |
Description |
| Microsoft.Extensions.DependencyInjection.IServiceScopeFactory |
|
Methods
BuildContentAsync(ActionApiDescriptionModel, IReadOnlyDictionary<string, object>, IJsonSerializer, ApiVersionInfo)
Declaration
public virtual Task<HttpContent> BuildContentAsync(ActionApiDescriptionModel action, IReadOnlyDictionary<string, object> methodArguments, IJsonSerializer jsonSerializer, ApiVersionInfo apiVersion)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><HttpContent> |
|
GenerateBodyAsync(ActionApiDescriptionModel, IReadOnlyDictionary<string, object>, IJsonSerializer)
Declaration
protected virtual Task<HttpContent> GenerateBodyAsync(ActionApiDescriptionModel action, IReadOnlyDictionary<string, object> methodArguments, IJsonSerializer jsonSerializer)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><HttpContent> |
|
GenerateFormPostDataAsync(ActionApiDescriptionModel, IReadOnlyDictionary<string, object>)
Declaration
protected virtual Task<HttpContent> GenerateFormPostDataAsync(ActionApiDescriptionModel action, IReadOnlyDictionary<string, object> methodArguments)
Parameters
| Type |
Name |
Description |
| ActionApiDescriptionModel |
action |
|
| System.Collections.Generic.IReadOnlyDictionary<TKey, TValue><string, object> |
methodArguments |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><HttpContent> |
|
Declaration
protected virtual Task<List<KeyValuePair<string, HttpContent>>> ObjectToFormDataAsync<T>(IObjectToFormData<T> converter, ActionApiDescriptionModel actionApiDescription, ParameterApiDescriptionModel parameterApiDescription, T value)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><System.Collections.Generic.List<T><KeyValuePair<string, HttpContent>>> |
|
Type Parameters
Implements
Extension Methods