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

OnChunk() private static method

private static OnChunk ( IConnection connection, ArraySegment readBuffer ) : bool
connection IConnection
readBuffer ArraySegment
return bool
        private static bool OnChunk(IConnection connection, ArraySegment<byte> readBuffer)
        {
            if (IsKeepAlive(readBuffer))
            {
                connection.MarkLastMessage();
                return false;
            }

            return true;
        }