29 references to Upgrade
System (29)
net\System\Net\_HeaderInfoTable.cs (1)
139
new HeaderInfo(HttpKnownHeaderNames.
Upgrade
, false, false, true, MultiParser),
net\System\Net\Cache\_Rfc2616CacheValidators.cs (2)
1238
if (cc[HttpKnownHeaderNames.
Upgrade
] != null) {
1826
AsciiLettersNoCaseEqual(key, HttpKnownHeaderNames.
Upgrade
))
net\System\Net\HttpListenerRequest.cs (3)
483
if (string.IsNullOrEmpty(this.Headers[HttpKnownHeaderNames.Connection]) || string.IsNullOrEmpty(this.Headers[HttpKnownHeaderNames.
Upgrade
]))
490
if (string.Compare(connection, HttpKnownHeaderNames.
Upgrade
, StringComparison.OrdinalIgnoreCase) == 0)
502
foreach (string upgrade in this.Headers.GetValues(HttpKnownHeaderNames.
Upgrade
))
net\System\Net\HttpWebRequest.cs (2)
5056
if (connectionValues.IndexOf(HttpKnownHeaderNames.
Upgrade
, StringComparison.OrdinalIgnoreCase) < 0)
5058
_HttpRequestHeaders.AddInternal(HttpKnownHeaderNames.Connection, HttpKnownHeaderNames.
Upgrade
);
net\System\Net\WebSockets\ClientWebSocket.cs (3)
270
string upgradeHeader = response.Headers[HttpKnownHeaderNames.
Upgrade
];
275
HttpKnownHeaderNames.
Upgrade
, upgradeHeader));
280
if (!string.Equals(connectionHeader, HttpKnownHeaderNames.
Upgrade
,
net\System\Net\WebSockets\WebSocketHelpers.cs (6)
110
response.Headers.Add(HttpKnownHeaderNames.Connection, HttpKnownHeaderNames.
Upgrade
);
111
response.Headers.Add(HttpKnownHeaderNames.
Upgrade
, WebSocketHelpers.WebSocketUpgradeToken);
326
HttpKnownHeaderNames.
Upgrade
,
328
context.Request.Headers[HttpKnownHeaderNames.
Upgrade
]));
360
request.Connection = HttpKnownHeaderNames.
Upgrade
;
361
request.Headers[HttpKnownHeaderNames.
Upgrade
] = WebSocketUpgradeToken;
net\System\Net\WebSockets\WebSocketProtocolComponent.cs (12)
42
Value = HttpKnownHeaderNames.
Upgrade
,
43
ValueLength = (uint)HttpKnownHeaderNames.
Upgrade
.Length
47
Name = HttpKnownHeaderNames.
Upgrade
,
48
NameLength = (uint)HttpKnownHeaderNames.
Upgrade
.Length,
162
Value = HttpKnownHeaderNames.
Upgrade
,
163
ValueLength = (uint)HttpKnownHeaderNames.
Upgrade
.Length
167
Name = HttpKnownHeaderNames.
Upgrade
,
168
NameLength = (uint)HttpKnownHeaderNames.
Upgrade
.Length,
483
Value = HttpKnownHeaderNames.
Upgrade
,
484
ValueLength = (uint)HttpKnownHeaderNames.
Upgrade
.Length
488
Name = HttpKnownHeaderNames.
Upgrade
,
489
NameLength = (uint)HttpKnownHeaderNames.
Upgrade
.Length,