1 implementation of StreamId
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http2\Http2Stream.FeatureCollection.cs (1)
46int IHttp2StreamIdFeature.StreamId => _context.StreamId;
31 references to StreamId
InMemory.FunctionalTests (31)
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 (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(); 3351await _runningStreams[streamIdFeature.StreamId].Task; 3355_runningStreams[streamIdFeature.StreamId].TrySetException(ex); 3380_abortedStreamIds.Add(streamIdFeature.StreamId); 3383_runningStreams[streamIdFeature.StreamId].TrySetResult(); 3393await _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)
927var streamId = context.Features.Get<IHttp2StreamIdFeature>().StreamId;