1.5 KiB
1.5 KiB
System.Net.Http
namespace System.Net.Http {
+ public sealed class SocketsHttpHandler : HttpMessageHandler {
+ public SocketsHttpHandler();
+ public bool AllowAutoRedirect { get; set; }
+ public DecompressionMethods AutomaticDecompression { get; set; }
+ public TimeSpan ConnectTimeout { get; set; }
+ public CookieContainer CookieContainer { get; set; }
+ public ICredentials Credentials { get; set; }
+ public ICredentials DefaultProxyCredentials { get; set; }
+ public TimeSpan Expect100ContinueTimeout { get; set; }
+ public int MaxAutomaticRedirections { get; set; }
+ public int MaxConnectionsPerServer { get; set; }
+ public int MaxResponseDrainSize { get; set; }
+ public int MaxResponseHeadersLength { get; set; }
+ public TimeSpan PooledConnectionIdleTimeout { get; set; }
+ public TimeSpan PooledConnectionLifetime { get; set; }
+ public bool PreAuthenticate { get; set; }
+ public IDictionary<string, object> Properties { get; }
+ public IWebProxy Proxy { get; set; }
+ public TimeSpan ResponseDrainTimeout { get; set; }
+ public SslClientAuthenticationOptions SslOptions { get; set; }
+ public bool UseCookies { get; set; }
+ public bool UseProxy { get; set; }
+ protected override void Dispose(bool disposing);
+ protected internal override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken);
+ }
}