/// <summary> /// Creates /// <see cref="CloseableHttpClient">CloseableHttpClient</see> /// instance with default /// configuration. /// </summary> public static CloseableHttpClient CreateDefault() { return(HttpClientBuilder.Create().Build()); }
/// <summary> /// Creates /// <see cref="CloseableHttpClient">CloseableHttpClient</see> /// instance with default /// configuration based on ssytem properties. /// </summary> public static CloseableHttpClient CreateSystem() { return(HttpClientBuilder.Create().UseSystemProperties().Build()); }
/// <summary> /// Creates builder object for construction of custom /// <see cref="CloseableHttpClient">CloseableHttpClient</see> /// instances. /// </summary> public static HttpClientBuilder Custom() { return(HttpClientBuilder.Create()); }