1 implementation of IHttp2StreamIdFeature
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http2\Http2Stream.FeatureCollection.cs (1)
13internal partial class Http2Stream : IHttp2StreamIdFeature,
35 references to IHttp2StreamIdFeature
InMemory.FunctionalTests (23)
Http2\Http2ConnectionTests.cs (6)
1169if (context.Features.Get<IHttp2StreamIdFeature>().StreamId == 1) 1905var streamId = context.Features.Get<IHttp2StreamIdFeature>().StreamId; 3194var streamId = context.Features.Get<IHttp2StreamIdFeature>().StreamId; 3314var streamId = context.Features.Get<IHttp2StreamIdFeature>().StreamId; 4217var streamId = context.Features.Get<IHttp2StreamIdFeature>().StreamId; 4321var streamId = context.Features.Get<IHttp2StreamIdFeature>().StreamId;
Http2\Http2StreamTests.cs (12)
3178var streamIdFeature = context.Features.Get<IHttp2StreamIdFeature>(); 3211var streamIdFeature = context.Features.Get<IHttp2StreamIdFeature>(); 3247var streamIdFeature = context.Features.Get<IHttp2StreamIdFeature>(); 3289var streamIdFeature = context.Features.Get<IHttp2StreamIdFeature>(); 3332var streamIdFeature = context.Features.Get<IHttp2StreamIdFeature>(); 3372var streamIdFeature = context.Features.Get<IHttp2StreamIdFeature>();
Http2\Http2TestBase.cs (4)
292var streamIdFeature = context.Features.Get<IHttp2StreamIdFeature>(); 312var streamIdFeature = context.Features.Get<IHttp2StreamIdFeature>();
Http2\Http2TimeoutTests.cs (1)
927var streamId = context.Features.Get<IHttp2StreamIdFeature>().StreamId;
Microsoft.AspNetCore.Server.Kestrel.Core (10)
Internal\Http\HttpProtocol.Generated.cs (9)
73internal protected IHttp2StreamIdFeature? _currentIHttp2StreamIdFeature; 296else if (key == typeof(IHttp2StreamIdFeature)) 448else if (key == typeof(IHttp2StreamIdFeature)) 450_currentIHttp2StreamIdFeature = (IHttp2StreamIdFeature?)value; 602else if (typeof(TFeature) == typeof(IHttp2StreamIdFeature)) 604feature = Unsafe.As<IHttp2StreamIdFeature?, TFeature?>(ref _currentIHttp2StreamIdFeature); 762else if (typeof(TFeature) == typeof(IHttp2StreamIdFeature)) 764_currentIHttp2StreamIdFeature = Unsafe.As<TFeature?, IHttp2StreamIdFeature?>(ref feature); 912yield return new KeyValuePair<Type, object>(typeof(IHttp2StreamIdFeature), _currentIHttp2StreamIdFeature);
Internal\Http2\Http2Stream.FeatureCollection.cs (1)
46int IHttp2StreamIdFeature.StreamId => _context.StreamId;
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
HttpProtocolFeatureCollection.cs (2)
166public IHttp2StreamIdFeature Get_IHttp2StreamIdFeature() 168return _collection.Get<IHttp2StreamIdFeature>();