36 references to State
Microsoft.AspNetCore.Server.Kestrel.Core (36)
src\Shared\runtime\Http2\Hpack\HPackDecoder.cs (36)
93private State _state = State.Ready; 145case State.Ready: 148case State.HeaderFieldIndex: 151case State.HeaderNameIndex: 154case State.HeaderNameLength: 157case State.HeaderNameLengthContinue: 160case State.HeaderName: 163case State.HeaderValueLength: 166case State.HeaderValueLengthContinue: 169case State.HeaderValue: 172case State.DynamicTableSizeUpdate: 204_state = State.Ready; 218OnStringLength(intResult, nextState: State.HeaderValue); 222OnString(nextState: State.Ready); 232_state = State.HeaderValueLengthContinue; 246OnStringLength(intResult, nextState: State.HeaderName); 258OnStringLength(intResult, nextState: State.HeaderValue); 295OnStringLength(intResult, nextState: State.HeaderName); 300_state = State.HeaderNameLengthContinue; 310Debug.Assert(_state == State.Ready, "Should be ready to parse a new header."); 328_state = State.HeaderFieldIndex; 381_state = State.DynamicTableSizeUpdate; 399_state = State.HeaderNameLength; 411_state = State.HeaderNameIndex; 432_state = State.HeaderValueLength; 449OnString(nextState: State.HeaderValueLength); 468_state = State.Ready; 480OnString(nextState: State.Ready); 490if (_state != State.Ready) 535if (_state != State.Ready) 554_state = State.Ready; 568_state = State.HeaderValueLength; 571private void OnStringLength(int length, State nextState) 588private void OnString(State nextState) 606if (_state == State.HeaderName)