Files
linker/linker.libs/api/IApiServer.cs
snltty 33a9cfedc5 sync
2024-06-24 23:06:29 +08:00

21 lines
538 B
C#

using linker.libs.websocket;
using System;
namespace linker.libs.api
{
/// <summary>
/// 前端接口服务
/// </summary>
public interface IApiServer
{
/// <summary>
/// websocket
/// </summary>
public void Websocket(int port,string password);
public void Notify(string path, object content);
public void Notify(string path,string name, ReadOnlyMemory<byte> content);
public void Notify(string path, object content,WebsocketConnection connection);
}
}