IRgfApiServiceExtension.PostAsync<ResultType>(IRgfApiService, String, HttpContent, Dictionary<String, String>, CancellationToken, Boolean) Method
Namespace: Recrovit.RecroGridFramework.Abstraction.Contracts.ServicesAssembly: Recrovit.RecroGridFramework.Abstraction (in Recrovit.RecroGridFramework.Abstraction.dll) Version: 1.15.0.10131
public static Task<IRgfApiResponse<ResultType>> PostAsync<ResultType>(
this IRgfApiService service,
string requestUri,
HttpContent content,
Dictionary<string, string> additionalHeaders = null,
CancellationToken cancellationToken = default,
bool authClient = true
)
where ResultType : class
- service IRgfApiService
-
- requestUri String
-
- content HttpContent
-
- additionalHeaders Dictionary<String, String> (Optional)
-
- cancellationToken CancellationToken (Optional)
-
- authClient Boolean (Optional)
-
- ResultType
Task<IRgfApiResponse<ResultType>>In Visual Basic and C#, you can call this method as an instance method on any object of type
IRgfApiService. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).