1 implementation of IConnectionSocketFeature
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
Internal\SocketConnection.FeatureCollection.cs (1)
9internal sealed partial class SocketConnection : IConnectionSocketFeature
46 references to IConnectionSocketFeature
InMemory.FunctionalTests (9)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
32internal protected IConnectionSocketFeature? _currentIConnectionSocketFeature; 155else if (key == typeof(IConnectionSocketFeature)) 219else if (key == typeof(IConnectionSocketFeature)) 221_currentIConnectionSocketFeature = (IConnectionSocketFeature?)value; 285else if (typeof(TFeature) == typeof(IConnectionSocketFeature)) 287feature = Unsafe.As<IConnectionSocketFeature?, TFeature?>(ref _currentIConnectionSocketFeature); 357else if (typeof(TFeature) == typeof(IConnectionSocketFeature)) 359_currentIConnectionSocketFeature = Unsafe.As<TFeature?, IConnectionSocketFeature?>(ref feature); 419yield return new KeyValuePair<Type, object>(typeof(IConnectionSocketFeature), _currentIConnectionSocketFeature);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (9)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
32internal protected IConnectionSocketFeature? _currentIConnectionSocketFeature; 155else if (key == typeof(IConnectionSocketFeature)) 219else if (key == typeof(IConnectionSocketFeature)) 221_currentIConnectionSocketFeature = (IConnectionSocketFeature?)value; 285else if (typeof(TFeature) == typeof(IConnectionSocketFeature)) 287feature = Unsafe.As<IConnectionSocketFeature?, TFeature?>(ref _currentIConnectionSocketFeature); 357else if (typeof(TFeature) == typeof(IConnectionSocketFeature)) 359_currentIConnectionSocketFeature = Unsafe.As<TFeature?, IConnectionSocketFeature?>(ref feature); 419yield return new KeyValuePair<Type, object>(typeof(IConnectionSocketFeature), _currentIConnectionSocketFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (9)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
32internal protected IConnectionSocketFeature? _currentIConnectionSocketFeature; 155else if (key == typeof(IConnectionSocketFeature)) 219else if (key == typeof(IConnectionSocketFeature)) 221_currentIConnectionSocketFeature = (IConnectionSocketFeature?)value; 285else if (typeof(TFeature) == typeof(IConnectionSocketFeature)) 287feature = Unsafe.As<IConnectionSocketFeature?, TFeature?>(ref _currentIConnectionSocketFeature); 357else if (typeof(TFeature) == typeof(IConnectionSocketFeature)) 359_currentIConnectionSocketFeature = Unsafe.As<TFeature?, IConnectionSocketFeature?>(ref feature); 419yield return new KeyValuePair<Type, object>(typeof(IConnectionSocketFeature), _currentIConnectionSocketFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (9)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
32internal protected IConnectionSocketFeature? _currentIConnectionSocketFeature; 155else if (key == typeof(IConnectionSocketFeature)) 219else if (key == typeof(IConnectionSocketFeature)) 221_currentIConnectionSocketFeature = (IConnectionSocketFeature?)value; 285else if (typeof(TFeature) == typeof(IConnectionSocketFeature)) 287feature = Unsafe.As<IConnectionSocketFeature?, TFeature?>(ref _currentIConnectionSocketFeature); 357else if (typeof(TFeature) == typeof(IConnectionSocketFeature)) 359_currentIConnectionSocketFeature = Unsafe.As<TFeature?, IConnectionSocketFeature?>(ref feature); 419yield return new KeyValuePair<Type, object>(typeof(IConnectionSocketFeature), _currentIConnectionSocketFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (9)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
32internal protected IConnectionSocketFeature? _currentIConnectionSocketFeature; 155else if (key == typeof(IConnectionSocketFeature)) 219else if (key == typeof(IConnectionSocketFeature)) 221_currentIConnectionSocketFeature = (IConnectionSocketFeature?)value; 285else if (typeof(TFeature) == typeof(IConnectionSocketFeature)) 287feature = Unsafe.As<IConnectionSocketFeature?, TFeature?>(ref _currentIConnectionSocketFeature); 357else if (typeof(TFeature) == typeof(IConnectionSocketFeature)) 359_currentIConnectionSocketFeature = Unsafe.As<TFeature?, IConnectionSocketFeature?>(ref feature); 419yield return new KeyValuePair<Type, object>(typeof(IConnectionSocketFeature), _currentIConnectionSocketFeature);
Sockets.FunctionalTests (1)
SocketTransportTests.cs (1)
37var socket = context.Features.Get<IConnectionSocketFeature>().Socket;