From c9058d204e3ce085d35bf11535e9074dd071cd76 Mon Sep 17 00:00:00 2001 From: Administrator <450292408@qq.com> Date: Fri, 22 Oct 2021 06:17:37 +0000 Subject: [PATCH] docs: update wg-basic/yml --- wg-basic/yml.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/wg-basic/yml.md b/wg-basic/yml.md index c46f452..28f41a8 100644 --- a/wg-basic/yml.md +++ b/wg-basic/yml.md @@ -2,7 +2,7 @@ title: 2.配置文件详解 description: yml配置文件详解 published: true -date: 2021-10-12T07:11:53.398Z +date: 2021-10-22T06:17:36.447Z tags: wg-basic editor: markdown dateCreated: 2021-07-29T06:22:48.973Z @@ -117,6 +117,22 @@ UI访问地址 - 原版:/swagger-ui.html - 美化:/doc.html +## 即时消息 + +```yaml +websocket: + url: 127.0.0.1 + port: 8081 + context: websocket +``` + + +| 配置 | 属性 | 说明 | 必填 | 默认值 +|:-:|:-:|:-:|:-:|:-:| +| websocket.url | url | 访问地址 | N | 127.0.0.1 | +| websocket.port | port | 访问端口 | N | 1991 | +| websocket.context | context | 上下文 | N | websocket | + # 完整示例 ```yml server: