mirror of
https://github.com/snltty/linker.git
synced 2025-10-24 09:33:14 +08:00
26 lines
702 B
C#
26 lines
702 B
C#
using cmonitor.server.api.websocket;
|
|
using System.Reflection;
|
|
|
|
namespace cmonitor.server.api
|
|
{
|
|
/// <summary>
|
|
/// 前端接口服务
|
|
/// </summary>
|
|
public interface IClientServer
|
|
{
|
|
/// <summary>
|
|
/// websocket
|
|
/// </summary>
|
|
public void Websocket();
|
|
/// <summary>
|
|
/// 加载插件
|
|
/// </summary>
|
|
/// <param name="assemblys"></param>
|
|
public void LoadPlugins(Assembly[] assemblys);
|
|
public void Notify(string path, object content);
|
|
public void Notify(string path,string name, Memory<byte> content);
|
|
public void Notify(string path, object content,WebsocketConnection connection);
|
|
}
|
|
|
|
}
|