增加web channel

This commit is contained in:
Stony
2024-11-26 14:09:20 +08:00
parent cf84e57f81
commit 71c18c04fc
6 changed files with 381 additions and 1 deletions

7
channel/web/README.md Normal file
View File

@@ -0,0 +1,7 @@
# Web channel
使用SSEServer-Sent Events服务器推送事件实现提供了一个默认的网页。也可以自己实现加入api
#使用方法
- 在配置文件中channel_type填入web即可
- 访问地址 http://localhost:9899
- port可以在配置项 web_port中设置