1 implementation of StreamId
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http2\Http2Stream.FeatureCollection.cs (1)
46
int IHttp2StreamIdFeature.
StreamId
=> _context.StreamId;
31 references to StreamId
InMemory.FunctionalTests (31)
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 (20)
3185
_abortedStreamIds.Add(streamIdFeature.
StreamId
);
3195
_runningStreams[streamIdFeature.
StreamId
].TrySetResult();
3218
_abortedStreamIds.Add(streamIdFeature.
StreamId
);
3230
_runningStreams[streamIdFeature.
StreamId
].TrySetResult();
3255
_runningStreams[streamIdFeature.
StreamId
].TrySetException(new Exception("ReadAsync was expected to throw."));
3263
_abortedStreamIds.Add(streamIdFeature.
StreamId
);
3266
_runningStreams[streamIdFeature.
StreamId
].TrySetResult();
3270
_runningStreams[streamIdFeature.
StreamId
].TrySetException(ex);
3298
_runningStreams[streamIdFeature.
StreamId
].TrySetException(new Exception("ReadAsync was expected to throw."));
3306
_abortedStreamIds.Add(streamIdFeature.
StreamId
);
3309
_runningStreams[streamIdFeature.
StreamId
].TrySetResult();
3313
_runningStreams[streamIdFeature.
StreamId
].TrySetException(ex);
3340
_abortedStreamIds.Add(streamIdFeature.
StreamId
);
3343
_runningStreams[streamIdFeature.
StreamId
].TrySetResult();
3351
await _runningStreams[streamIdFeature.
StreamId
].Task;
3355
_runningStreams[streamIdFeature.
StreamId
].TrySetException(ex);
3380
_abortedStreamIds.Add(streamIdFeature.
StreamId
);
3383
_runningStreams[streamIdFeature.
StreamId
].TrySetResult();
3393
await _runningStreams[streamIdFeature.
StreamId
].Task;
3397
_runningStreams[streamIdFeature.
StreamId
].TrySetException(ex);
Http2\Http2TestBase.cs (4)
299
_abortedStreamIds.Add(streamIdFeature.
StreamId
);
307
_runningStreams[streamIdFeature.
StreamId
].TrySetResult();
319
_abortedStreamIds.Add(streamIdFeature.
StreamId
);
329
_runningStreams[streamIdFeature.
StreamId
].TrySetResult();
Http2\Http2TimeoutTests.cs (1)
927
var streamId = context.Features.Get<IHttp2StreamIdFeature>().
StreamId
;