mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-02-05 05:19:49 +08:00
添加项目文件。
This commit is contained in:
38
CoreCms.Net.Utility/Hub/IChatClient.cs
Normal file
38
CoreCms.Net.Utility/Hub/IChatClient.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms.Net *
|
||||
* Web: https://CoreCms.Net *
|
||||
* ProjectName: 核心内容管理系统 *
|
||||
* Author: 大灰灰 *
|
||||
* Email: JianWeie@163.com *
|
||||
* CreateTime: 2020-09-06 23:39:07
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CoreCms.Net.Utility.Hub
|
||||
{
|
||||
public interface IChatClient
|
||||
{
|
||||
/// <summary>
|
||||
/// SignalR接收信息
|
||||
/// </summary>
|
||||
/// <param name="message">信息内容</param>
|
||||
/// <returns></returns>
|
||||
Task ReceiveMessage(object message);
|
||||
|
||||
/// <summary>
|
||||
/// SignalR接收信息
|
||||
/// </summary>
|
||||
/// <param name="user">指定接收客户端</param>
|
||||
/// <param name="message">信息内容</param>
|
||||
/// <returns></returns>
|
||||
Task ReceiveMessage(string user, string message);
|
||||
|
||||
Task ReceiveUpdate(object message);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user