Exemple #1
0
 /// <summary>
 /// Creates the HTTP client.
 /// </summary>
 /// <param name="proxyAddress">The proxy address.</param>
 /// <returns>HttpClient.</returns>
 public static HttpClient CreateHttpClient(string?proxyAddress)
 {
     return(HttpClientUtility.CreateHttpClient(proxyAddress, null, null));
 }
Exemple #2
0
 /// <summary>
 /// Creates the HTTP client.
 /// </summary>
 /// <returns>HttpClient.</returns>
 public static HttpClient CreateHttpClient()
 {
     return(HttpClientUtility.CreateHttpClient(null));
 }