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