Exemple #1
0
 public Api(ServerCredential argServerCredential)
 {
     _serverCredential  = argServerCredential;
     _httpClientHandler = new HttpClientHandler();
     _httpClient        = new HttpClient(_httpClientHandler)
     {
         BaseAddress = _serverCredential.Uri
     };
 }
Exemple #2
0
 public Api(ServerCredential argServerCredential)
 {
     _serverCredential = argServerCredential;
     _httpClientHandler = new HttpClientHandler();
     _httpClient = new HttpClient(_httpClientHandler) {BaseAddress = _serverCredential.Uri};
 }