using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using SignalR;

namespace VisualTrackingWeb
{
    public class RegistrationConnection : PersistentConnection
    {
        protected override Task OnReceivedAsync(IRequest request, string connectionId, string data)
        {
            // Broadcast data to all clients
            //Connection.Send()
            return Connection.Broadcast(data);
        }
    }
}