namespace OASystem.API.OAMethodLib.Hub.HubClients { public interface IChatClient { Task SignalRLogin(int userId); Task SendAsync(string method, object message); Task SendAll(object message); Task SendMessageByUser(object message); Task SendCustomUserMessage(object message); Task ReceiveMessage(object message); /// /// 发送消息给指定用户(系统) /// /// /// Task SendSystemToUser(string message); /// /// 发送消息给所有用户(系统) /// /// /// /// Task SendSystemToAllUser(string message); } }