125 [
Obsolete(
"WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.", DiagnosticId =
"SYSLIB0014", UrlFormat =
"https://aka.ms/dotnet-warnings/{0}")]
131 [
Obsolete(
"WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.", DiagnosticId =
"SYSLIB0014", UrlFormat =
"https://aka.ms/dotnet-warnings/{0}")]
137 [
Obsolete(
"WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.", DiagnosticId =
"SYSLIB0014", UrlFormat =
"https://aka.ms/dotnet-warnings/{0}")]
172 if (
proxy !=
null && !address.IsLoopback)
198 return address.Scheme +
"://" + address.DnsSafeHost +
":" + address.
Port;
200 return address.Scheme +
"://" + address.
DnsSafeHost;
210 return text +
"://proxy";
static byte Max(byte val1, byte val2)
static string MakeQueryString(Uri address)
static readonly ConcurrentDictionary< string, WeakReference< ServicePoint > > s_servicePointTable
static void SetTcpKeepAlive(bool enabled, int keepAliveTime, int keepAliveInterval)
static ServicePoint FindServicePoint(Uri address, IWebProxy? proxy)
static bool CheckCertificateRevocationList
const int DefaultPersistentConnectionLimit
static int s_connectionLimit
static bool UseNagleAlgorithm
static int DefaultConnectionLimit
static SecurityProtocolType s_securityProtocolType
static bool ProxyAddressIfNecessary(ref Uri address, IWebProxy proxy)
static int DnsRefreshTimeout
static bool Expect100Continue
static ? RemoteCertificateValidationCallback ServerCertificateValidationCallback
static bool EnableDnsRoundRobin
static void ValidateSecurityProtocol(SecurityProtocolType value)
static int MaxServicePointIdleTime
static string MakeQueryString(Uri address, bool isProxy)
static int MaxServicePoints
static int s_maxServicePoints
const int DefaultNonPersistentConnectionLimit
static int s_dnsRefreshTimeout
static int s_maxServicePointIdleTime
static SecurityProtocolType SecurityProtocol
static ServicePoint FindServicePoint(string uriString, IWebProxy? proxy)
static ServicePoint FindServicePoint(Uri address)
static string net_securityprotocolnotsupported
static string net_proxyschemenotsupported
static string Format(string resourceFormat, object p1)
static readonly string UriSchemeHttp