/// <summary> /// /// </summary> /// <param name="httpClient"></param> /// <param name="auth">Can be set to NULL but user shuld remeber to set 'withToken' on false in 'send' function.</param> public BasicRestClient(HttpClient httpClient, IOAuth2ClientAuthentication auth) : base(httpClient, auth) { }
/// <summary> /// /// </summary> /// <param name="httpClient"></param> /// <param name="auth">Can be set to NULL but user shuld remeber to set 'withToken' on false in 'send' function.</param> public CoreRestClient(HttpClient httpClient, IOAuth2ClientAuthentication auth) { _httpClient = httpClient; _auth = auth; }