Class UnityWebRequestRestConnector
Inheritance
UnityWebRequestRestConnector
Assembly: cs.temp.dll.dll
public class UnityWebRequestRestConnector : IRestConnector
Methods
Declaration
protected void AddHeaders(UnityWebRequest req, Dictionary<string, string> headers)
Parameters
Declaration
public virtual async Task<WebResponse<string>> DeleteAsync(string uri, Dictionary<string, string> headers = null)
Parameters
Returns
Declaration
public virtual async Task<WebResponse<string>> GetAsync(string uri, Dictionary<string, string> headers = null)
Parameters
Returns
PostAsync(String, Byte[], Dictionary<String, String>)
Declaration
public virtual async Task<WebResponse<string>> PostAsync(string uri, byte[] postData, Dictionary<string, string> headers = null)
Parameters
Returns
PostAsync(String, String, Dictionary<String, String>)
Declaration
public virtual async Task<WebResponse<string>> PostAsync(string uri, string putJson, Dictionary<string, string> headers = null)
Parameters
Returns
PostPutDataAsync(String, String, Byte[], String, Dictionary<String, String>)
Declaration
protected async Task<WebResponse<string>> PostPutDataAsync(string uri, string method, byte[] data, string contentType, Dictionary<string, string> headers = null)
Parameters
Returns
Declaration
public virtual async Task<WebResponse<string>> PutAsync(string uri, byte[] putData, Dictionary<string, string> headers = null)
Parameters
Returns
Declaration
public virtual async Task<WebResponse<string>> PutAsync(string uri, string putJson, Dictionary<string, string> headers = null)
Parameters
Returns
Implements