1 write to Request
System.Net.HttpListener (1)
System\Net\Managed\HttpListenerContext.Managed.cs (1)
21
Request
= new HttpListenerRequest(this);
37 references to Request
InMemory.FunctionalTests (9)
src\Servers\Kestrel\shared\test\RevocationResponder.cs (9)
131
Trace($"{context.
Request
.HttpMethod} {context.
Request
.RawUrl} (HTTP {context.
Request
.ProtocolVersion})");
144
Trace($"Sent 500 due to exception on {context.
Request
.HttpMethod} {context.
Request
.RawUrl}");
157
Trace($"404 for {context.
Request
.HttpMethod} {context.
Request
.RawUrl}");
173
string url = context.
Request
.RawUrl;
220
if (TryGetOcspRequestBytes(context.
Request
, prefix, out reqBytes))
Microsoft.AspNetCore.InternalTesting.Tests (1)
HttpClientSlimTest.cs (1)
38
using (var host = StartHost(out var address, handler: context => context.
Request
.InputStream.CopyToAsync(context.Response.OutputStream)))
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (9)
src\Servers\Kestrel\shared\test\RevocationResponder.cs (9)
131
Trace($"{context.
Request
.HttpMethod} {context.
Request
.RawUrl} (HTTP {context.
Request
.ProtocolVersion})");
144
Trace($"Sent 500 due to exception on {context.
Request
.HttpMethod} {context.
Request
.RawUrl}");
157
Trace($"404 for {context.
Request
.HttpMethod} {context.
Request
.RawUrl}");
173
string url = context.
Request
.RawUrl;
220
if (TryGetOcspRequestBytes(context.
Request
, prefix, out reqBytes))
System.Net.HttpListener (18)
System\Net\HttpListenerResponse.cs (1)
55
private HttpListenerRequest HttpListenerRequest => HttpListenerContext!.
Request
;
System\Net\Managed\ChunkedInputStream.cs (1)
63
WebHeaderCollection coll = (WebHeaderCollection)context.
Request
.Headers;
System\Net\Managed\HttpConnection.cs (5)
292
_context.
Request
.FinishInitialization();
386
_context.
Request
.SetRequestLine(line);
393
_context.
Request
.AddHeader(line);
515
force |= !_context.
Request
.KeepAlive;
519
if (!force && _context.
Request
.FlushInput())
System\Net\Managed\HttpEndPointListener.cs (2)
156
HttpListenerRequest req = context.
Request
;
169
if (context == null || context.
Request
== null)
System\Net\Managed\HttpListener.Managed.cs (1)
336
return AuthenticationSchemeSelectorDelegate != null ? AuthenticationSchemeSelectorDelegate(context.
Request
) : _authenticationScheme;
System\Net\Managed\HttpListenerContext.Managed.cs (1)
38
string? header =
Request
.Headers[HttpKnownHeaderNames.Authorization];
System\Net\Managed\HttpListenerResponse.Managed.cs (1)
227
conn_close = !_httpContext!.
Request
.KeepAlive;
System\Net\Managed\ListenerAsyncResult.Managed.cs (1)
141
string? authHeader = context.
Request
.Headers["Authorization"];
System\Net\Managed\WebSockets\HttpWebSocket.Managed.cs (1)
21
HttpListenerRequest request = context.
Request
;
System\Net\WebSockets\HttpWebSocket.cs (4)
106
if (!context.
Request
.IsWebSocketRequest)
114
context.
Request
.Headers[HttpKnownHeaderNames.Upgrade]));
117
string? secWebSocketVersion = context.
Request
.Headers[HttpKnownHeaderNames.SecWebSocketVersion];
135
string? secWebSocketKey = context.
Request
.Headers[HttpKnownHeaderNames.SecWebSocketKey];