Base:
property
Request
Microsoft.AspNetCore.Http.HttpContext.Request
19 references to Request
Aspire.Dashboard (1)
Utils\GlobalizationHelpers.cs (1)
144tempHttpContext.Request.Headers["Accept-Language"] = acceptLanguage;
Aspire.Dashboard.Tests (17)
BrowserSecurityHeadersMiddlewareTests.cs (1)
55httpContext.Request.Scheme = scheme;
DashboardOptionsTests.cs (1)
397httpsContext.Request.Scheme = "https";
Model\WebSocketOriginValidatorTests.cs (3)
31context.Request.Scheme = scheme; 35context.Request.Host = HostString.FromUriComponent(host); 40context.Request.Headers.Origin = origin;
OtlpApiKeyAuthenticationHandlerTests.cs (1)
98httpContext.Request.Headers[OtlpApiKeyAuthenticationHandler.ApiKeyHeaderName] = otlpApiKeyHeader;
Terminal\TerminalWebSocketProxyOriginTests.cs (11)
33ctx.Request.Scheme = scheme; 34ctx.Request.Host = HostString.FromUriComponent(host); 35ctx.Request.Headers.Origin = origin; 47ctx.Request.Scheme = "https"; 48ctx.Request.Host = new HostString("dashboard.example.com"); 63ctx.Request.Scheme = "https"; 64ctx.Request.Host = new HostString("dashboard.example.com"); 65ctx.Request.Headers.Origin = origin; 79ctx.Request.Scheme = "https"; 80ctx.Request.Host = new HostString(); 81ctx.Request.Headers.Origin = "https://dashboard.example.com";
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
Latency\Internal\HttpLatencyLogEnricherTests.cs (1)
87httpContextMock.Request.Headers[header.Key] = header.Value;