using System.Threading.Tasks; namespace EntrustSettle.Hubs { public interface IChatClient { /// /// SignalR接收信息 /// /// 信息内容 /// Task ReceiveMessage(object message); /// /// SignalR接收信息 /// /// 指定接收客户端 /// 信息内容 /// Task ReceiveMessage(string user, string message); Task ReceiveUpdate(object message); } }