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)
158
public bool ExpectResponseData =>
_responseProtocolState
== ResponseProtocolState.ExpectingData;
622
if (
_responseProtocolState
== ResponseProtocolState.Aborted)
628
if (
_responseProtocolState
== ResponseProtocolState.ExpectingHeaders)
634
if (
_responseProtocolState
!= ResponseProtocolState.ExpectingStatus)
637
if (NetEventSource.Log.IsEnabled()) Trace($"Status pseudo-header received in {
_responseProtocolState
} state.");
686
if (
_responseProtocolState
== ResponseProtocolState.Aborted)
692
if (
_responseProtocolState
== ResponseProtocolState.ExpectingIgnoredHeaders)
698
if (
_responseProtocolState
!= ResponseProtocolState.ExpectingHeaders &&
_responseProtocolState
!= ResponseProtocolState.ExpectingTrailingHeaders)
708
if (
_responseProtocolState
== ResponseProtocolState.ExpectingTrailingHeaders)
766
switch (
_responseProtocolState
)
790
switch (
_responseProtocolState
)
853
if (
_responseProtocolState
== ResponseProtocolState.ExpectingData)
873
switch (
_responseProtocolState
)
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)