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)
34internal protected IConnectionSocketFeature? _currentIConnectionSocketFeature; 158else if (key == typeof(IConnectionSocketFeature)) 226else if (key == typeof(IConnectionSocketFeature)) 228_currentIConnectionSocketFeature = (IConnectionSocketFeature?)value; 296else if (typeof(TFeature) == typeof(IConnectionSocketFeature)) 298feature = Unsafe.As<IConnectionSocketFeature?, TFeature?>(ref _currentIConnectionSocketFeature); 372else if (typeof(TFeature) == typeof(IConnectionSocketFeature)) 374_currentIConnectionSocketFeature = Unsafe.As<TFeature?, IConnectionSocketFeature?>(ref feature); 438yield return new KeyValuePair<Type, object>(typeof(IConnectionSocketFeature), _currentIConnectionSocketFeature);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (9)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
34internal protected IConnectionSocketFeature? _currentIConnectionSocketFeature; 158else if (key == typeof(IConnectionSocketFeature)) 226else if (key == typeof(IConnectionSocketFeature)) 228_currentIConnectionSocketFeature = (IConnectionSocketFeature?)value; 296else if (typeof(TFeature) == typeof(IConnectionSocketFeature)) 298feature = Unsafe.As<IConnectionSocketFeature?, TFeature?>(ref _currentIConnectionSocketFeature); 372else if (typeof(TFeature) == typeof(IConnectionSocketFeature)) 374_currentIConnectionSocketFeature = Unsafe.As<TFeature?, IConnectionSocketFeature?>(ref feature); 438yield return new KeyValuePair<Type, object>(typeof(IConnectionSocketFeature), _currentIConnectionSocketFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (9)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
34internal protected IConnectionSocketFeature? _currentIConnectionSocketFeature; 158else if (key == typeof(IConnectionSocketFeature)) 226else if (key == typeof(IConnectionSocketFeature)) 228_currentIConnectionSocketFeature = (IConnectionSocketFeature?)value; 296else if (typeof(TFeature) == typeof(IConnectionSocketFeature)) 298feature = Unsafe.As<IConnectionSocketFeature?, TFeature?>(ref _currentIConnectionSocketFeature); 372else if (typeof(TFeature) == typeof(IConnectionSocketFeature)) 374_currentIConnectionSocketFeature = Unsafe.As<TFeature?, IConnectionSocketFeature?>(ref feature); 438yield return new KeyValuePair<Type, object>(typeof(IConnectionSocketFeature), _currentIConnectionSocketFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (9)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
34internal protected IConnectionSocketFeature? _currentIConnectionSocketFeature; 158else if (key == typeof(IConnectionSocketFeature)) 226else if (key == typeof(IConnectionSocketFeature)) 228_currentIConnectionSocketFeature = (IConnectionSocketFeature?)value; 296else if (typeof(TFeature) == typeof(IConnectionSocketFeature)) 298feature = Unsafe.As<IConnectionSocketFeature?, TFeature?>(ref _currentIConnectionSocketFeature); 372else if (typeof(TFeature) == typeof(IConnectionSocketFeature)) 374_currentIConnectionSocketFeature = Unsafe.As<TFeature?, IConnectionSocketFeature?>(ref feature); 438yield return new KeyValuePair<Type, object>(typeof(IConnectionSocketFeature), _currentIConnectionSocketFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (9)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
34internal protected IConnectionSocketFeature? _currentIConnectionSocketFeature; 158else if (key == typeof(IConnectionSocketFeature)) 226else if (key == typeof(IConnectionSocketFeature)) 228_currentIConnectionSocketFeature = (IConnectionSocketFeature?)value; 296else if (typeof(TFeature) == typeof(IConnectionSocketFeature)) 298feature = Unsafe.As<IConnectionSocketFeature?, TFeature?>(ref _currentIConnectionSocketFeature); 372else if (typeof(TFeature) == typeof(IConnectionSocketFeature)) 374_currentIConnectionSocketFeature = Unsafe.As<TFeature?, IConnectionSocketFeature?>(ref feature); 438yield return new KeyValuePair<Type, object>(typeof(IConnectionSocketFeature), _currentIConnectionSocketFeature);
Sockets.FunctionalTests (1)
SocketTransportTests.cs (1)
37var socket = context.Features.Get<IConnectionSocketFeature>().Socket;