3 implementations of HttpContext
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
207public HttpContext? HttpContext { get; set; }
Microsoft.AspNetCore.SignalR.Tests (2)
HubConnectionHandlerTests.cs (2)
5399public HttpContext HttpContext { get; set; } 5427public HttpContext HttpContext { get; set; }
6 references to HttpContext
Microsoft.AspNetCore.Components.Server.Tests (1)
Circuits\ComponentHubTest.cs (1)
136httpContextFeature.Setup(x => x.HttpContext).Returns(() => new DefaultHttpContext());
Microsoft.AspNetCore.Http.Connections (1)
HttpConnectionContextExtensions.cs (1)
25return connection.Features.Get<IHttpContextFeature>()?.HttpContext;
Microsoft.AspNetCore.Http.Connections.Tests (1)
HttpConnectionDispatcherTests.cs (1)
3560var feature = Assert.IsType<HttpRequestTimeoutFeature>(context.Features.Get<IHttpContextFeature>()?.HttpContext.Features.Get<IHttpRequestTimeoutFeature>());
Microsoft.AspNetCore.SignalR (2)
GetHttpContextExtensions.cs (2)
22return connection.Features.Get<IHttpContextFeature>()?.HttpContext; 33return connection.Features.Get<IHttpContextFeature>()?.HttpContext;
Microsoft.AspNetCore.SignalR.Tests (1)
HttpHeaderConnectionHandler.cs (1)
23var headers = connection.Features.Get<IHttpContextFeature>().HttpContext.Request.Headers;