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