System.Net.Http.HttpClientHandler
namespace System.Net.Http
{
public class HttpClientHandler : HttpMessageHandler
{
public bool AllowAutoRedirect { get; set; }
public DecompressionMethods AutomaticDecompression { get; set; }
public bool CheckCertificateRevocationList { get; set; }
public ClientCertificateOption ClientCertificateOptions { get; set; }
public X509CertificateCollection ClientCertificates { get; }
public CookieContainer CookieContainer { get; set; }
public ICredentials Credentials { get; set; }
public ICredentials DefaultProxyCredentials { get; set; }
public int MaxAutomaticRedirections { get; set; }
public int MaxConnectionsPerServer { get; set; }
public int MaxResponseHeadersLength { get; set; }
public long MaxRequestContentBufferSize { get; set; }
public bool PreAuthenticate { get; set; }
public IDictionary<string, object> Properties { get; }
public IWebProxy Proxy { get; set; }
public Func<HttpRequestMessage, X509Certificate2, X509Chain, SslPolicyErrors, bool> ServerCertificateCustomValidationCallback { get; set; }
public SslProtocols SslProtocols { get; set; }
public virtual bool SupportsAutomaticDecompression { get; }
public virtual bool SupportsProxy { get; }
public virtual bool SupportsRedirectConfiguration { get; }
public bool UseCookies { get; set; }
public bool UseDefaultCredentials { get; set; }
public bool UseProxy { get; set; }
public HttpClientHandler();
}
}