3 implementations of IHttpContextFeature
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
29IHttpContextFeature,
Microsoft.AspNetCore.SignalR.Tests (2)
HubConnectionHandlerTests.cs (2)
5397public class TestHttpContextFeature : IHttpContextFeature 5425private class HttpContextFeatureImpl : IHttpContextFeature
10 references to IHttpContextFeature
Microsoft.AspNetCore.Components.Server.Tests (1)
Circuits\ComponentHubTest.cs (1)
135var httpContextFeature = new Mock<IHttpContextFeature>();
Microsoft.AspNetCore.Http.Connections (2)
HttpConnectionContextExtensions.cs (1)
25return connection.Features.Get<IHttpContextFeature>()?.HttpContext;
Internal\HttpConnectionContext.cs (1)
95Features.Set<IHttpContextFeature>(this);
Microsoft.AspNetCore.Http.Connections.Tests (1)
HttpConnectionDispatcherTests.cs (1)
3556var 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 (4)
HttpHeaderConnectionHandler.cs (1)
23var headers = connection.Features.Get<IHttpContextFeature>().HttpContext.Request.Headers;
HubConnectionHandlerTests.cs (3)
2352client.Connection.Features.Set<IHttpContextFeature>(httpConnectionContext); 2623client.Connection.Features.Set<IHttpContextFeature>(feature); 5098client2.Connection.Features.Set<IHttpContextFeature>(feature);