Microsoft.AspNet.SignalR.Client.Transports.LongPollingTransport.IsKeepAlive C# (CSharp) Method

IsKeepAlive() private static method

private static IsKeepAlive ( ArraySegment readBuffer ) : bool
readBuffer ArraySegment
return bool
        private static bool IsKeepAlive(ArraySegment<byte> readBuffer)
        {
            return readBuffer.Count == 1
                && readBuffer.Array[readBuffer.Offset] == (byte)' ';
        }