37 references to ResponseProtocolState
System.Net.Http (37)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (37)
47
private
ResponseProtocolState
_responseProtocolState;
100
_responseProtocolState =
ResponseProtocolState
.ExpectingStatus;
158
public bool ExpectResponseData => _responseProtocolState ==
ResponseProtocolState
.ExpectingData;
469
_responseProtocolState =
ResponseProtocolState
.Aborted;
622
if (_responseProtocolState ==
ResponseProtocolState
.Aborted)
628
if (_responseProtocolState ==
ResponseProtocolState
.ExpectingHeaders)
634
if (_responseProtocolState !=
ResponseProtocolState
.ExpectingStatus)
647
_responseProtocolState =
ResponseProtocolState
.ExpectingIgnoredHeaders;
662
_responseProtocolState =
ResponseProtocolState
.ExpectingHeaders;
686
if (_responseProtocolState ==
ResponseProtocolState
.Aborted)
692
if (_responseProtocolState ==
ResponseProtocolState
.ExpectingIgnoredHeaders)
698
if (_responseProtocolState !=
ResponseProtocolState
.ExpectingHeaders && _responseProtocolState !=
ResponseProtocolState
.ExpectingTrailingHeaders)
708
if (_responseProtocolState ==
ResponseProtocolState
.ExpectingTrailingHeaders)
768
case
ResponseProtocolState
.ExpectingStatus:
769
case
ResponseProtocolState
.Aborted:
772
case
ResponseProtocolState
.ExpectingData:
773
_responseProtocolState =
ResponseProtocolState
.ExpectingTrailingHeaders;
792
case
ResponseProtocolState
.Aborted:
795
case
ResponseProtocolState
.ExpectingHeaders:
796
_responseProtocolState = endStream ?
ResponseProtocolState
.Complete :
ResponseProtocolState
.ExpectingData;
800
case
ResponseProtocolState
.ExpectingTrailingHeaders:
806
_responseProtocolState =
ResponseProtocolState
.Complete;
809
case
ResponseProtocolState
.ExpectingIgnoredHeaders:
817
_responseProtocolState =
ResponseProtocolState
.ExpectingStatus;
853
if (_responseProtocolState ==
ResponseProtocolState
.ExpectingData)
875
case
ResponseProtocolState
.ExpectingData:
878
case
ResponseProtocolState
.Aborted:
899
_responseProtocolState =
ResponseProtocolState
.Complete;
971
if (canRetry && _responseProtocolState !=
ResponseProtocolState
.ExpectingStatus)
1025
if (_responseProtocolState ==
ResponseProtocolState
.Aborted)
1046
return (false, _responseProtocolState ==
ResponseProtocolState
.Complete && _responseBuffer.IsEmpty);
1122
else if (_responseProtocolState ==
ResponseProtocolState
.Complete)
1127
Debug.Assert(_responseProtocolState ==
ResponseProtocolState
.ExpectingData || _responseProtocolState ==
ResponseProtocolState
.ExpectingTrailingHeaders);
1379
if (_responseBuffer.IsEmpty && _responseProtocolState ==
ResponseProtocolState
.Complete)