29 references to Headers
System.Net.HttpListener (29)
System\Net\HttpListenerRequest.cs (15)
24
public string[]? AcceptTypes => Helpers.ParseMultivalueHeader(
Headers
[HttpKnownHeaderNames.Accept]!);
26
public string[]? UserLanguages => Helpers.ParseMultivalueHeader(
Headers
[HttpKnownHeaderNames.AcceptLanguage]!);
58
string? cookieString =
Headers
[HttpKnownHeaderNames.Cookie];
76
string? postDataCharset =
Headers
["x-up-devcap-post-charset"];
109
public string? ContentType =>
Headers
[HttpKnownHeaderNames.ContentType];
123
if (string.IsNullOrEmpty(
Headers
[HttpKnownHeaderNames.Connection]) || string.IsNullOrEmpty(
Headers
[HttpKnownHeaderNames.Upgrade]))
128
foreach (string connection in
Headers
.GetValues(HttpKnownHeaderNames.Connection)!)
142
foreach (string upgrade in
Headers
.GetValues(HttpKnownHeaderNames.Upgrade)!)
160
string? header =
Headers
[HttpKnownHeaderNames.ProxyConnection];
163
header =
Headers
[HttpKnownHeaderNames.Connection];
173
header =
Headers
[HttpKnownHeaderNames.KeepAlive];
205
public string? UserAgent =>
Headers
[HttpKnownHeaderNames.UserAgent];
209
public string UserHostName =>
Headers
[HttpKnownHeaderNames.Host]!;
215
string? referrer =
Headers
[HttpKnownHeaderNames.Referer];
System\Net\Managed\ChunkedInputStream.cs (1)
63
WebHeaderCollection coll = (WebHeaderCollection)context.Request.
Headers
;
System\Net\Managed\HttpListenerContext.Managed.cs (1)
38
string? header = Request.
Headers
[HttpKnownHeaderNames.Authorization];
System\Net\Managed\HttpListenerRequest.Managed.cs (3)
181
string? t_encoding =
Headers
[HttpKnownHeaderNames.TransferEncoding];
201
if (string.Equals(
Headers
[HttpKnownHeaderNames.Expect], "100-continue", StringComparison.OrdinalIgnoreCase))
242
if (
Headers
[HttpKnownHeaderNames.TransferEncoding] != null)
System\Net\Managed\ListenerAsyncResult.Managed.cs (1)
141
string? authHeader = context.Request.
Headers
["Authorization"];
System\Net\Managed\WebSockets\HttpWebSocket.Managed.cs (5)
24
string? secWebSocketVersion = request.
Headers
[HttpKnownHeaderNames.SecWebSocketVersion];
27
string? origin = request.
Headers
[HttpKnownHeaderNames.Origin];
33
request.
Headers
[HttpKnownHeaderNames.SecWebSocketProtocol],
44
string? secWebSocketKey = request.
Headers
[HttpKnownHeaderNames.SecWebSocketKey];
63
request.
Headers
,
System\Net\WebSockets\HttpWebSocket.cs (3)
114
context.Request.
Headers
[HttpKnownHeaderNames.Upgrade]));
117
string? secWebSocketVersion = context.Request.
Headers
[HttpKnownHeaderNames.SecWebSocketVersion];
135
string? secWebSocketKey = context.Request.
Headers
[HttpKnownHeaderNames.SecWebSocketKey];