Interface IApiService
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public interface IApiService
Methods
Post(String, Object)
Declaration
Task Post(string endpoint, object request)
Parameters
| Type |
Name |
Description |
| System.String |
endpoint |
|
| System.Object |
request |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Post<TRes>(String, Object, KeyValuePair<String, String>[])
Declaration
Task<TRes> Post<TRes>(string endpoint, object request, params KeyValuePair<string, string>[] customHeaders)
Parameters
| Type |
Name |
Description |
| System.String |
endpoint |
|
| System.Object |
request |
|
| System.Collections.Generic.KeyValuePair<System.String, System.String>[] |
customHeaders |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TRes> |
|
Type Parameters