1 implementation of IHttp2StreamIdFeature
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http2\Http2Stream.FeatureCollection.cs (1)
13
internal partial class Http2Stream :
IHttp2StreamIdFeature
,
37 references to IHttp2StreamIdFeature
InMemory.FunctionalTests (25)
Http2\Http2ConnectionTests.cs (8)
1193
if (context.Features.Get<
IHttp2StreamIdFeature
>().StreamId == 1)
1929
var streamId = context.Features.Get<
IHttp2StreamIdFeature
>().StreamId;
2277
if (context.Features.Get<
IHttp2StreamIdFeature
>().StreamId == 1)
2292
else if (context.Features.Get<
IHttp2StreamIdFeature
>().StreamId == 3)
3340
var streamId = context.Features.Get<
IHttp2StreamIdFeature
>().StreamId;
3460
var streamId = context.Features.Get<
IHttp2StreamIdFeature
>().StreamId;
4374
var streamId = context.Features.Get<
IHttp2StreamIdFeature
>().StreamId;
4478
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)
928
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
>();