24 references to StreamId
Microsoft.AspNetCore.Server.Kestrel.Core (24)
Internal\Http2\FlowControl\StreamInputFlowControl.cs (1)
26private int StreamId => _stream.StreamId;
Internal\Http2\Http2Connection.cs (12)
431Log.HPackDecodingError(ConnectionId, _currentHeadersStream.StreamId, ex); 744throw new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorStreamHalfClosedRemote(_incomingFrame.Type, stream.StreamId), Http2ErrorCode.STREAM_CLOSED, ConnectionEndReason.FrameAfterStreamClose); 766return new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorStreamAborted(_incomingFrame.Type, stream.StreamId), Http2ErrorCode.STREAM_CLOSED, ConnectionEndReason.FrameAfterStreamClose); 782return new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorHeadersInterleaved(_incomingFrame.Type, _incomingFrame.StreamId, _currentHeadersStream.StreamId), Http2ErrorCode.PROTOCOL_ERROR, ConnectionEndReason.UnexpectedFrame); 829throw new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorStreamHalfClosedRemote(_incomingFrame.Type, stream.StreamId), Http2ErrorCode.STREAM_CLOSED, ConnectionEndReason.FrameAfterStreamClose); 1207if (_incomingFrame.StreamId != _currentHeadersStream.StreamId) 1250_highestOpenedStreamId = _currentHeadersStream.StreamId; 1323throw new Http2StreamErrorException(_currentHeadersStream.StreamId, CoreStrings.HttpErrorMissingMandatoryPseudoHeaderFields, Http2ErrorCode.PROTOCOL_ERROR); 1336throw new Http2StreamErrorException(_currentHeadersStream.StreamId, CoreStrings.Http2ErrorMaxStreams, Http2ErrorCode.REFUSED_STREAM); 1361throw new Http2StreamErrorException(_currentHeadersStream.StreamId, CoreStrings.Http2TellClientToCalmDown, Http2ErrorCode.ENHANCE_YOUR_CALM); 1492_streams.Remove(stream.StreamId); 1502Log.Http2StreamPooled(ConnectionId, stream.StreamId);
Internal\Http2\Http2FrameWriter.cs (6)
254WriteResponseHeaders(stream.StreamId, stream.StatusCode, Http2HeadersFrameFlags.NONE, (HttpResponseHeaders)stream.ResponseHeaders); 291_log.Http2UnexpectedDataRemaining(stream.StreamId, _connectionId); 497WriteResponseHeadersUnsynchronized(stream.StreamId, stream.StatusCode, Http2HeadersFrameFlags.END_STREAM, (HttpResponseHeaders)stream.ResponseHeaders); 582var streamId = stream.StreamId; 803WriteResponseHeadersUnsynchronized(stream.StreamId, stream.StatusCode, Http2HeadersFrameFlags.NONE, (HttpResponseHeaders)stream.ResponseHeaders); 810WriteDataUnsynchronized(stream.StreamId, data, dataLength, endStream);
Internal\Http2\Http2OutputProducer.cs (2)
24private int StreamId => _stream.StreamId; 116internal (int, long, State, State, long) SchedulingState => (Stream.StreamId, _unconsumedBytes, _unobservedState, _currentState, _streamWindow);
Internal\Http2\Http2Stream.cs (3)
191=> StringUtilities.ConcatAsHexSuffix(ConnectionId, ':', (uint)StreamId); 510throw new Http2StreamErrorException(StreamId, CoreStrings.Http2StreamErrorMoreDataThanLength, Http2ErrorCode.PROTOCOL_ERROR); 555throw new Http2StreamErrorException(StreamId, CoreStrings.Http2StreamErrorLessDataThanLength, Http2ErrorCode.PROTOCOL_ERROR);