9 writes to _responseProtocolState
System.Net.Http (9)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (9)
100_responseProtocolState = ResponseProtocolState.ExpectingStatus; 469_responseProtocolState = ResponseProtocolState.Aborted; 647_responseProtocolState = ResponseProtocolState.ExpectingIgnoredHeaders; 662_responseProtocolState = ResponseProtocolState.ExpectingHeaders; 773_responseProtocolState = ResponseProtocolState.ExpectingTrailingHeaders; 796_responseProtocolState = endStream ? ResponseProtocolState.Complete : ResponseProtocolState.ExpectingData; 806_responseProtocolState = ResponseProtocolState.Complete; 817_responseProtocolState = ResponseProtocolState.ExpectingStatus; 899_responseProtocolState = ResponseProtocolState.Complete;
21 references to _responseProtocolState
System.Net.Http (21)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (21)
158public bool ExpectResponseData => _responseProtocolState == ResponseProtocolState.ExpectingData; 622if (_responseProtocolState == ResponseProtocolState.Aborted) 628if (_responseProtocolState == ResponseProtocolState.ExpectingHeaders) 634if (_responseProtocolState != ResponseProtocolState.ExpectingStatus) 637if (NetEventSource.Log.IsEnabled()) Trace($"Status pseudo-header received in {_responseProtocolState} state."); 686if (_responseProtocolState == ResponseProtocolState.Aborted) 692if (_responseProtocolState == ResponseProtocolState.ExpectingIgnoredHeaders) 698if (_responseProtocolState != ResponseProtocolState.ExpectingHeaders && _responseProtocolState != ResponseProtocolState.ExpectingTrailingHeaders) 708if (_responseProtocolState == ResponseProtocolState.ExpectingTrailingHeaders) 766switch (_responseProtocolState) 790switch (_responseProtocolState) 853if (_responseProtocolState == ResponseProtocolState.ExpectingData) 873switch (_responseProtocolState) 971if (canRetry && _responseProtocolState != ResponseProtocolState.ExpectingStatus) 1025if (_responseProtocolState == ResponseProtocolState.Aborted) 1046return (false, _responseProtocolState == ResponseProtocolState.Complete && _responseBuffer.IsEmpty); 1122else if (_responseProtocolState == ResponseProtocolState.Complete) 1127Debug.Assert(_responseProtocolState == ResponseProtocolState.ExpectingData || _responseProtocolState == ResponseProtocolState.ExpectingTrailingHeaders); 1379if (_responseBuffer.IsEmpty && _responseProtocolState == ResponseProtocolState.Complete)