平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
521 B

  1. namespace SafeCampus.Plugin.SignalR
  2. {
  3. /// <summary>
  4. /// 即时通讯集线器
  5. /// </summary>
  6. public interface ISimpleHub
  7. {
  8. /// <summary>
  9. /// 退出登录
  10. /// </summary>
  11. /// <param name="context"></param>
  12. /// <returns></returns>
  13. Task LoginOut(object context);
  14. /// <summary>
  15. /// 新消息
  16. /// </summary>
  17. /// <param name="context"></param>
  18. /// <returns></returns>
  19. Task NewMessage(object context);
  20. }
  21. }