9 implementations of IConnectionEndPointFeature
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
22IConnectionEndPointFeature
Microsoft.AspNetCore.Connections.Abstractions (1)
DefaultConnectionContext.cs (1)
25IConnectionEndPointFeature
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
42IConnectionEndPointFeature
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
41IConnectionEndPointFeature,
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
22IConnectionEndPointFeature
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
22IConnectionEndPointFeature
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
22IConnectionEndPointFeature
src\Servers\Kestrel\shared\TransportMultiplexedConnection.Generated.cs (1)
21IConnectionEndPointFeature
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
22IConnectionEndPointFeature
103 references to IConnectionEndPointFeature
IIS.Tests (2)
ConnectionEndPointFeatureTests.cs (2)
23var endPointFeature = ctx.Features.Get<IConnectionEndPointFeature>();
InMemory.FunctionalTests (11)
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (2)
42EndPoint? IConnectionEndPointFeature.LocalEndPoint 48EndPoint? IConnectionEndPointFeature.RemoteEndPoint
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
30internal protected IConnectionEndPointFeature? _currentIConnectionEndPointFeature; 186else if (key == typeof(IConnectionEndPointFeature)) 254else if (key == typeof(IConnectionEndPointFeature)) 256_currentIConnectionEndPointFeature = (IConnectionEndPointFeature?)value; 324else if (typeof(TFeature) == typeof(IConnectionEndPointFeature)) 326feature = Unsafe.As<IConnectionEndPointFeature?, TFeature?>(ref _currentIConnectionEndPointFeature); 400else if (typeof(TFeature) == typeof(IConnectionEndPointFeature)) 402_currentIConnectionEndPointFeature = Unsafe.As<TFeature?, IConnectionEndPointFeature?>(ref feature); 466yield return new KeyValuePair<Type, object>(typeof(IConnectionEndPointFeature), _currentIConnectionEndPointFeature);
Microsoft.AspNetCore.Connections.Abstractions (1)
DefaultConnectionContext.cs (1)
53Features.Set<IConnectionEndPointFeature>(this);
Microsoft.AspNetCore.Http.Connections (6)
Internal\HttpConnectionDispatcher.cs (1)
608connection.Features.Set(context.Features.Get<IConnectionEndPointFeature>());
src\Shared\ConnectionEndpointTags.cs (5)
18/// Adds connection endpoint tags to a TagList using <see cref="IConnectionEndPointFeature"/>. 24var endpointFeature = features.Get<IConnectionEndPointFeature>(); 37/// Adds connection endpoint tags to a TagList using <see cref="IConnectionEndPointFeature"/>, 45var localEndpoint = connectionContext.Features.Get<IConnectionEndPointFeature>()?.LocalEndPoint
Microsoft.AspNetCore.Server.HttpSys (3)
RequestProcessing\RequestContext.FeatureCollection.cs (2)
767EndPoint? IConnectionEndPointFeature.LocalEndPoint 788EndPoint? IConnectionEndPointFeature.RemoteEndPoint
StandardFeatureCollection.cs (1)
34{ typeof(IConnectionEndPointFeature), _identityFunc },
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
ConnectionEndPointFeatureTests.cs (2)
24var endPointFeature = httpContext.Features.Get<IConnectionEndPointFeature>();
Microsoft.AspNetCore.Server.IIS (3)
Core\IISHttpContext.FeatureCollection.cs (2)
528EndPoint? IConnectionEndPointFeature.LocalEndPoint 549EndPoint? IConnectionEndPointFeature.RemoteEndPoint
Core\IISHttpContext.Features.cs (1)
33private static readonly Type IConnectionEndPointFeature = typeof(global::Microsoft.AspNetCore.Connections.Features.IConnectionEndPointFeature);
Microsoft.AspNetCore.Server.Kestrel.Core (5)
src\Shared\ConnectionEndpointTags.cs (5)
18/// Adds connection endpoint tags to a TagList using <see cref="IConnectionEndPointFeature"/>. 24var endpointFeature = features.Get<IConnectionEndPointFeature>(); 37/// Adds connection endpoint tags to a TagList using <see cref="IConnectionEndPointFeature"/>, 45var localEndpoint = connectionContext.Features.Get<IConnectionEndPointFeature>()?.LocalEndPoint
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (10)
TransportConnectionFeatureCollectionTests.cs (10)
27var endpointFeature = kestrelConnection.TransportConnection.Features.Get<IConnectionEndPointFeature>(); 42var endpointFeature = kestrelConnection.TransportConnection.Features.Get<IConnectionEndPointFeature>(); 58var endpointFeature = kestrelConnection.TransportConnection.Features.Get<IConnectionEndPointFeature>(); 73var endpointFeature = kestrelConnection.TransportConnection.Features.Get<IConnectionEndPointFeature>(); 89var endpointFeature = kestrelConnection.TransportConnection.Features.Get<IConnectionEndPointFeature>();
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (11)
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (2)
42EndPoint? IConnectionEndPointFeature.LocalEndPoint 48EndPoint? IConnectionEndPointFeature.RemoteEndPoint
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
30internal protected IConnectionEndPointFeature? _currentIConnectionEndPointFeature; 186else if (key == typeof(IConnectionEndPointFeature)) 254else if (key == typeof(IConnectionEndPointFeature)) 256_currentIConnectionEndPointFeature = (IConnectionEndPointFeature?)value; 324else if (typeof(TFeature) == typeof(IConnectionEndPointFeature)) 326feature = Unsafe.As<IConnectionEndPointFeature?, TFeature?>(ref _currentIConnectionEndPointFeature); 400else if (typeof(TFeature) == typeof(IConnectionEndPointFeature)) 402_currentIConnectionEndPointFeature = Unsafe.As<TFeature?, IConnectionEndPointFeature?>(ref feature); 466yield return new KeyValuePair<Type, object>(typeof(IConnectionEndPointFeature), _currentIConnectionEndPointFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (11)
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (2)
42EndPoint? IConnectionEndPointFeature.LocalEndPoint 48EndPoint? IConnectionEndPointFeature.RemoteEndPoint
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
30internal protected IConnectionEndPointFeature? _currentIConnectionEndPointFeature; 186else if (key == typeof(IConnectionEndPointFeature)) 254else if (key == typeof(IConnectionEndPointFeature)) 256_currentIConnectionEndPointFeature = (IConnectionEndPointFeature?)value; 324else if (typeof(TFeature) == typeof(IConnectionEndPointFeature)) 326feature = Unsafe.As<IConnectionEndPointFeature?, TFeature?>(ref _currentIConnectionEndPointFeature); 400else if (typeof(TFeature) == typeof(IConnectionEndPointFeature)) 402_currentIConnectionEndPointFeature = Unsafe.As<TFeature?, IConnectionEndPointFeature?>(ref feature); 466yield return new KeyValuePair<Type, object>(typeof(IConnectionEndPointFeature), _currentIConnectionEndPointFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (22)
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (2)
42EndPoint? IConnectionEndPointFeature.LocalEndPoint 48EndPoint? IConnectionEndPointFeature.RemoteEndPoint
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
30internal protected IConnectionEndPointFeature? _currentIConnectionEndPointFeature; 186else if (key == typeof(IConnectionEndPointFeature)) 254else if (key == typeof(IConnectionEndPointFeature)) 256_currentIConnectionEndPointFeature = (IConnectionEndPointFeature?)value; 324else if (typeof(TFeature) == typeof(IConnectionEndPointFeature)) 326feature = Unsafe.As<IConnectionEndPointFeature?, TFeature?>(ref _currentIConnectionEndPointFeature); 400else if (typeof(TFeature) == typeof(IConnectionEndPointFeature)) 402_currentIConnectionEndPointFeature = Unsafe.As<TFeature?, IConnectionEndPointFeature?>(ref feature); 466yield return new KeyValuePair<Type, object>(typeof(IConnectionEndPointFeature), _currentIConnectionEndPointFeature);
src\Servers\Kestrel\shared\TransportMultiplexedConnection.FeatureCollection.cs (2)
33EndPoint? IConnectionEndPointFeature.LocalEndPoint 39EndPoint? IConnectionEndPointFeature.RemoteEndPoint
src\Servers\Kestrel\shared\TransportMultiplexedConnection.Generated.cs (9)
28internal protected IConnectionEndPointFeature? _currentIConnectionEndPointFeature; 141else if (key == typeof(IConnectionEndPointFeature)) 185else if (key == typeof(IConnectionEndPointFeature)) 187_currentIConnectionEndPointFeature = (IConnectionEndPointFeature?)value; 231else if (typeof(TFeature) == typeof(IConnectionEndPointFeature)) 233feature = Unsafe.As<IConnectionEndPointFeature?, TFeature?>(ref _currentIConnectionEndPointFeature); 278else if (typeof(TFeature) == typeof(IConnectionEndPointFeature)) 280_currentIConnectionEndPointFeature = Unsafe.As<TFeature?, IConnectionEndPointFeature?>(ref feature); 320yield return new KeyValuePair<Type, object>(typeof(IConnectionEndPointFeature), _currentIConnectionEndPointFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (11)
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (2)
42EndPoint? IConnectionEndPointFeature.LocalEndPoint 48EndPoint? IConnectionEndPointFeature.RemoteEndPoint
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
30internal protected IConnectionEndPointFeature? _currentIConnectionEndPointFeature; 186else if (key == typeof(IConnectionEndPointFeature)) 254else if (key == typeof(IConnectionEndPointFeature)) 256_currentIConnectionEndPointFeature = (IConnectionEndPointFeature?)value; 324else if (typeof(TFeature) == typeof(IConnectionEndPointFeature)) 326feature = Unsafe.As<IConnectionEndPointFeature?, TFeature?>(ref _currentIConnectionEndPointFeature); 400else if (typeof(TFeature) == typeof(IConnectionEndPointFeature)) 402_currentIConnectionEndPointFeature = Unsafe.As<TFeature?, IConnectionEndPointFeature?>(ref feature); 466yield return new KeyValuePair<Type, object>(typeof(IConnectionEndPointFeature), _currentIConnectionEndPointFeature);
Microsoft.AspNetCore.SignalR.Core (5)
src\Shared\ConnectionEndpointTags.cs (5)
18/// Adds connection endpoint tags to a TagList using <see cref="IConnectionEndPointFeature"/>. 24var endpointFeature = features.Get<IConnectionEndPointFeature>(); 37/// Adds connection endpoint tags to a TagList using <see cref="IConnectionEndPointFeature"/>, 45var localEndpoint = connectionContext.Features.Get<IConnectionEndPointFeature>()?.LocalEndPoint