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