Interface IRestConnector
Namespace: i5.Toolkit.Core.Utilities
Assembly: cs.temp.dll.dll
public interface IRestConnector
Methods
Declaration
Task<WebResponse<string>> DeleteAsync(string uri, Dictionary<string, string> headers = null)
Parameters
Type |
Name |
Description |
string |
uri |
|
System.Collections.Generic.Dictionary<TKey, TValue><string, string> |
headers |
|
Returns
Declaration
Task<WebResponse<string>> GetAsync(string uri, Dictionary<string, string> headers = null)
Parameters
Type |
Name |
Description |
string |
uri |
|
System.Collections.Generic.Dictionary<TKey, TValue><string, string> |
headers |
|
Returns
PostAsync(string, byte[], Dictionary<string, string>)
Declaration
Task<WebResponse<string>> PostAsync(string uri, byte[] postData, Dictionary<string, string> headers = null)
Parameters
Type |
Name |
Description |
string |
uri |
|
byte[] |
postData |
|
System.Collections.Generic.Dictionary<TKey, TValue><string, string> |
headers |
|
Returns
PostAsync(string, string, Dictionary<string, string>)
Declaration
Task<WebResponse<string>> PostAsync(string uri, string postJson, Dictionary<string, string> headers = null)
Parameters
Type |
Name |
Description |
string |
uri |
|
string |
postJson |
|
System.Collections.Generic.Dictionary<TKey, TValue><string, string> |
headers |
|
Returns
Declaration
Task<WebResponse<string>> PutAsync(string uri, byte[] putData, Dictionary<string, string> headers = null)
Parameters
Type |
Name |
Description |
string |
uri |
|
byte[] |
putData |
|
System.Collections.Generic.Dictionary<TKey, TValue><string, string> |
headers |
|
Returns
Declaration
Task<WebResponse<string>> PutAsync(string uri, string putJson, Dictionary<string, string> headers = null)
Parameters
Type |
Name |
Description |
string |
uri |
|
string |
putJson |
|
System.Collections.Generic.Dictionary<TKey, TValue><string, string> |
headers |
|
Returns