2 implementations of IHttpConnectionFeature
Microsoft.AspNetCore.Http (1)
Features\HttpConnectionFeature.cs (1)
11public class HttpConnectionFeature : IHttpConnectionFeature
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.Generated.cs (1)
32IHttpConnectionFeature,
22 references to IHttpConnectionFeature
Microsoft.AspNetCore.Http (4)
Features\HttpConnectionFeature.cs (1)
9/// Default implementation for <see cref="IHttpConnectionFeature"/>.
Internal\DefaultConnectionInfo.cs (3)
14private static readonly Func<IFeatureCollection, IHttpConnectionFeature> _newHttpConnectionFeature = f => new HttpConnectionFeature(); 40private IHttpConnectionFeature HttpConnectionFeature => 98public IHttpConnectionFeature? Connection;
Microsoft.AspNetCore.Http.Connections (4)
Internal\HttpConnectionDispatcher.cs (4)
604connection.Features.Set(context.Features.Get<IHttpConnectionFeature>()); 738var existingConnectionFeature = context.Features.Get<IHttpConnectionFeature>(); 757features.Set<IHttpConnectionFeature>(connectionFeature);
Microsoft.AspNetCore.Server.Kestrel.Core (14)
Internal\Http\HttpProtocol.FeatureCollection.cs (5)
156IPAddress? IHttpConnectionFeature.RemoteIpAddress 162IPAddress? IHttpConnectionFeature.LocalIpAddress 168int IHttpConnectionFeature.RemotePort 174int IHttpConnectionFeature.LocalPort 180string IHttpConnectionFeature.ConnectionId
Internal\Http\HttpProtocol.Generated.cs (9)
51internal protected IHttpConnectionFeature? _currentIHttpConnectionFeature; 248else if (key == typeof(IHttpConnectionFeature)) 400else if (key == typeof(IHttpConnectionFeature)) 402_currentIHttpConnectionFeature = (IHttpConnectionFeature?)value; 554else if (typeof(TFeature) == typeof(IHttpConnectionFeature)) 556feature = Unsafe.As<IHttpConnectionFeature?, TFeature?>(ref _currentIHttpConnectionFeature); 714else if (typeof(TFeature) == typeof(IHttpConnectionFeature)) 716_currentIHttpConnectionFeature = Unsafe.As<TFeature?, IHttpConnectionFeature?>(ref feature); 864yield return new KeyValuePair<Type, object>(typeof(IHttpConnectionFeature), _currentIHttpConnectionFeature);