24 references to HttpHandlerDefaults
System.Net.Http (24)
System\Net\Http\GlobalHttpSettings.cs (2)
67
if (value <
HttpHandlerDefaults
.DefaultInitialHttp2StreamWindowSize)
69
value =
HttpHandlerDefaults
.DefaultInitialHttp2StreamWindowSize;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
397
return AuthenticationHelper.SendWithNtProxyAuthAsync(request, ProxyUri!, async, ProxyCredentials,
HttpHandlerDefaults
.DefaultImpersonationLevel, connection, this, cancellationToken);
System\Net\Http\SocketsHttpHandler\HttpConnectionSettings.cs (19)
20
internal DecompressionMethods _automaticDecompression =
HttpHandlerDefaults
.DefaultAutomaticDecompression;
22
internal bool _useCookies =
HttpHandlerDefaults
.DefaultUseCookies;
25
internal bool _useProxy =
HttpHandlerDefaults
.DefaultUseProxy;
31
internal bool _preAuthenticate =
HttpHandlerDefaults
.DefaultPreAuthenticate;
33
internal TokenImpersonationLevel _impersonationLevel =
HttpHandlerDefaults
.DefaultImpersonationLevel; // this is here to support impersonation on HttpWebRequest
35
internal bool _allowAutoRedirect =
HttpHandlerDefaults
.DefaultAutomaticRedirection;
36
internal int _maxAutomaticRedirections =
HttpHandlerDefaults
.DefaultMaxAutomaticRedirections;
38
internal int _maxConnectionsPerServer =
HttpHandlerDefaults
.DefaultMaxConnectionsPerServer;
39
internal int _maxResponseDrainSize =
HttpHandlerDefaults
.DefaultMaxResponseDrainSize;
40
internal TimeSpan _maxResponseDrainTime =
HttpHandlerDefaults
.DefaultResponseDrainTimeout;
41
internal int _maxResponseHeadersLength =
HttpHandlerDefaults
.DefaultMaxResponseHeadersLength;
45
internal TimeSpan _pooledConnectionLifetime =
HttpHandlerDefaults
.DefaultPooledConnectionLifetime;
46
internal TimeSpan _pooledConnectionIdleTimeout =
HttpHandlerDefaults
.DefaultPooledConnectionIdleTimeout;
47
internal TimeSpan _expect100ContinueTimeout =
HttpHandlerDefaults
.DefaultExpect100ContinueTimeout;
48
internal TimeSpan _keepAlivePingTimeout =
HttpHandlerDefaults
.DefaultKeepAlivePingTimeout;
49
internal TimeSpan _keepAlivePingDelay =
HttpHandlerDefaults
.DefaultKeepAlivePingDelay;
50
internal HttpKeepAlivePingPolicy _keepAlivePingPolicy =
HttpHandlerDefaults
.DefaultKeepAlivePingPolicy;
51
internal TimeSpan _connectTimeout =
HttpHandlerDefaults
.DefaultConnectTimeout;
72
internal int _initialHttp2StreamWindowSize =
HttpHandlerDefaults
.DefaultInitialHttp2StreamWindowSize;
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (2)
282
if (value <
HttpHandlerDefaults
.DefaultInitialHttp2StreamWindowSize || value > GlobalHttpSettings.SocketsHttpHandler.MaxHttp2StreamWindowSize)
286
HttpHandlerDefaults
.DefaultInitialHttp2StreamWindowSize,