12 references to KeepAliveState
Microsoft.AspNetCore.Server.Kestrel.Core (12)
Internal\Http2\Http2Connection.cs (3)
369var state = _keepAlive.ProcessKeepAlive(frameReceived); 370if (state == KeepAliveState.SendPing) 374else if (state == KeepAliveState.Timeout)
Internal\Http2\Http2KeepAlive.cs (9)
33internal KeepAliveState _state; 43public KeepAliveState ProcessKeepAlive(bool frameReceived) 53if (_state == KeepAliveState.PingSent) 56_state = KeepAliveState.None; 63case KeepAliveState.None: 69_state = KeepAliveState.PingSent; 74return KeepAliveState.SendPing; 77case KeepAliveState.PingSent: 82_state = KeepAliveState.Timeout;