mirror of
				https://github.com/snltty/linker.git
				synced 2025-10-31 20:43:00 +08:00 
			
		
		
		
	优化内存分享,修复一些问题,新增答题投票功能
This commit is contained in:
		
							
								
								
									
										25
									
								
								cmonitor/api/IClientServer.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								cmonitor/api/IClientServer.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,25 @@ | ||||
| using cmonitor.api.websocket; | ||||
| using System.Reflection; | ||||
|  | ||||
| namespace cmonitor.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
	 snltty
					snltty