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