8 implementations of IConnectionIdFeature
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
17IConnectionIdFeature,
Microsoft.AspNetCore.Connections.Abstractions (1)
DefaultConnectionContext.cs (1)
20IConnectionIdFeature,
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
23IConnectionIdFeature,
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
17IConnectionIdFeature,
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
17IConnectionIdFeature,
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
17IConnectionIdFeature,
src\Servers\Kestrel\shared\TransportMultiplexedConnection.Generated.cs (1)
17IConnectionIdFeature,
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
17IConnectionIdFeature,
58 references to IConnectionIdFeature
InMemory.FunctionalTests (10)
Http2\Http2EndToEndTests.cs (1)
33connectionIdFromFeature = context.Features.Get<IConnectionIdFeature>().ConnectionId;
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
24internal protected IConnectionIdFeature? _currentIConnectionIdFeature; 131if (key == typeof(IConnectionIdFeature)) 195if (key == typeof(IConnectionIdFeature)) 197_currentIConnectionIdFeature = (IConnectionIdFeature?)value; 261if (typeof(TFeature) == typeof(IConnectionIdFeature)) 263feature = Unsafe.As<IConnectionIdFeature?, TFeature?>(ref _currentIConnectionIdFeature); 333if (typeof(TFeature) == typeof(IConnectionIdFeature)) 335_currentIConnectionIdFeature = Unsafe.As<TFeature?, IConnectionIdFeature?>(ref feature); 395yield return new KeyValuePair<Type, object>(typeof(IConnectionIdFeature), _currentIConnectionIdFeature);
Interop.FunctionalTests (1)
Http3\Http3RequestTests.cs (1)
135connectionIdFromFeature = context.Features.Get<IConnectionIdFeature>().ConnectionId;
Microsoft.AspNetCore.Connections.Abstractions (1)
DefaultConnectionContext.cs (1)
50Features.Set<IConnectionIdFeature>(this);
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
91Features.Set<IConnectionIdFeature>(this);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (9)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
24internal protected IConnectionIdFeature? _currentIConnectionIdFeature; 131if (key == typeof(IConnectionIdFeature)) 195if (key == typeof(IConnectionIdFeature)) 197_currentIConnectionIdFeature = (IConnectionIdFeature?)value; 261if (typeof(TFeature) == typeof(IConnectionIdFeature)) 263feature = Unsafe.As<IConnectionIdFeature?, TFeature?>(ref _currentIConnectionIdFeature); 333if (typeof(TFeature) == typeof(IConnectionIdFeature)) 335_currentIConnectionIdFeature = Unsafe.As<TFeature?, IConnectionIdFeature?>(ref feature); 395yield return new KeyValuePair<Type, object>(typeof(IConnectionIdFeature), _currentIConnectionIdFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (9)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
24internal protected IConnectionIdFeature? _currentIConnectionIdFeature; 131if (key == typeof(IConnectionIdFeature)) 195if (key == typeof(IConnectionIdFeature)) 197_currentIConnectionIdFeature = (IConnectionIdFeature?)value; 261if (typeof(TFeature) == typeof(IConnectionIdFeature)) 263feature = Unsafe.As<IConnectionIdFeature?, TFeature?>(ref _currentIConnectionIdFeature); 333if (typeof(TFeature) == typeof(IConnectionIdFeature)) 335_currentIConnectionIdFeature = Unsafe.As<TFeature?, IConnectionIdFeature?>(ref feature); 395yield return new KeyValuePair<Type, object>(typeof(IConnectionIdFeature), _currentIConnectionIdFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (18)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
24internal protected IConnectionIdFeature? _currentIConnectionIdFeature; 131if (key == typeof(IConnectionIdFeature)) 195if (key == typeof(IConnectionIdFeature)) 197_currentIConnectionIdFeature = (IConnectionIdFeature?)value; 261if (typeof(TFeature) == typeof(IConnectionIdFeature)) 263feature = Unsafe.As<IConnectionIdFeature?, TFeature?>(ref _currentIConnectionIdFeature); 333if (typeof(TFeature) == typeof(IConnectionIdFeature)) 335_currentIConnectionIdFeature = Unsafe.As<TFeature?, IConnectionIdFeature?>(ref feature); 395yield return new KeyValuePair<Type, object>(typeof(IConnectionIdFeature), _currentIConnectionIdFeature);
src\Servers\Kestrel\shared\TransportMultiplexedConnection.Generated.cs (9)
23internal protected IConnectionIdFeature? _currentIConnectionIdFeature; 118if (key == typeof(IConnectionIdFeature)) 158if (key == typeof(IConnectionIdFeature)) 160_currentIConnectionIdFeature = (IConnectionIdFeature?)value; 200if (typeof(TFeature) == typeof(IConnectionIdFeature)) 202feature = Unsafe.As<IConnectionIdFeature?, TFeature?>(ref _currentIConnectionIdFeature); 243if (typeof(TFeature) == typeof(IConnectionIdFeature)) 245_currentIConnectionIdFeature = Unsafe.As<TFeature?, IConnectionIdFeature?>(ref feature); 281yield return new KeyValuePair<Type, object>(typeof(IConnectionIdFeature), _currentIConnectionIdFeature);
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (9)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (9)
24internal protected IConnectionIdFeature? _currentIConnectionIdFeature; 131if (key == typeof(IConnectionIdFeature)) 195if (key == typeof(IConnectionIdFeature)) 197_currentIConnectionIdFeature = (IConnectionIdFeature?)value; 261if (typeof(TFeature) == typeof(IConnectionIdFeature)) 263feature = Unsafe.As<IConnectionIdFeature?, TFeature?>(ref _currentIConnectionIdFeature); 333if (typeof(TFeature) == typeof(IConnectionIdFeature)) 335_currentIConnectionIdFeature = Unsafe.As<TFeature?, IConnectionIdFeature?>(ref feature); 395yield return new KeyValuePair<Type, object>(typeof(IConnectionIdFeature), _currentIConnectionIdFeature);