26 references to Headers
System (18)
net\System\Net\HttpListenerRequest.cs (9)
286
for (int i=0; i<
Headers
.Count; i++) {
288
sb.Append(
Headers
.GetKey(i));
290
sb.Append(
Headers
.Get(i));
365
string postDataCharset =
Headers
["x-up-devcap-post-charset"];
483
if (string.IsNullOrEmpty(this.
Headers
[HttpKnownHeaderNames.Connection]) || string.IsNullOrEmpty(this.
Headers
[HttpKnownHeaderNames.Upgrade]))
488
foreach (string connection in this.
Headers
.GetValues(HttpKnownHeaderNames.Connection))
502
foreach (string upgrade in this.
Headers
.GetValues(HttpKnownHeaderNames.Upgrade))
721
string header =
Headers
[HttpKnownHeaderNames.ProxyConnection];
net\System\Net\WebSockets\WebSocketHelpers.cs (9)
86
string secWebSocketVersion = request.
Headers
[HttpKnownHeaderNames.SecWebSocketVersion];
89
string origin = request.
Headers
[HttpKnownHeaderNames.Origin];
95
request.
Headers
[HttpKnownHeaderNames.SecWebSocketProtocol],
107
string secWebSocketKey = request.
Headers
[HttpKnownHeaderNames.SecWebSocketKey];
137
request.
Headers
[HttpKnownHeaderNames.SecWebSocketProtocol]));
159
request.
Headers
,
328
context.Request.
Headers
[HttpKnownHeaderNames.Upgrade]));
331
string secWebSocketVersion = context.Request.
Headers
[HttpKnownHeaderNames.SecWebSocketVersion];
349
if (string.IsNullOrWhiteSpace(context.Request.
Headers
[HttpKnownHeaderNames.SecWebSocketKey]))
System.ServiceModel (8)
System\ServiceModel\Channels\HttpRequestContext.cs (5)
844
string acceptEncoding = listenerContext.Request.
Headers
[HttpChannelUtilities.AcceptEncodingHeader];
887
headers.Add(listenerRequest.
Headers
);
946
return this.listenerHttpContext.listenerContext.Request.
Headers
["SOAPAction"];
980
foreach (string webHeaderKey in this.listenerHttpContext.listenerContext.Request.
Headers
.Keys)
982
message.AddHeader(webHeaderKey, this.listenerHttpContext.listenerContext.Request.
Headers
[webHeaderKey]);
System\ServiceModel\Diagnostics\HttpListenerRequestTraceRecord.cs (3)
25
foreach (string key in this.request.
Headers
.Keys)
27
writer.WriteElementString(key, this.request.
Headers
[key]);
36
writer.WriteElementString(key, this.request.
Headers
[key]);