mirror of
https://github.com/snltty/linker.git
synced 2025-10-30 20:16:53 +08:00
init
This commit is contained in:
25
cmonitor/server/api/IClientServer.cs
Normal file
25
cmonitor/server/api/IClientServer.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user