protected override Task OnReceivedAsync(IRequest request, string connectionId, string data) { if (User.ContainsKey(connectionId)) { return(Connection.Send(connectionId, WebOperate.Get(data).Exec(User[connectionId]))); } else { return(Connection.Broadcast(data)); } }
//private void S(object o) { } protected override Task OnReceivedAsync(IRequest request, string connectionId, string data) { this.ConnectionId = connectionId; return(Connection.Send(connectionId, WebOperate.Get(data).Exec(this))); //return Connection.Broadcast(); }