Example #1
0
 /// <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)
 {
 }
Example #2
0
 /// <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;
 }