Merge pull request #312 from tobycroft/patch-2

Update configuration.md
This commit is contained in:
白池 2024-03-24 15:46:39 +08:00 committed by GitHub
commit 208169c2a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,10 +63,12 @@ icon: cog
heartbeat_interval: 15000 // 设置为null则默认15000毫秒作为心跳间隔0则为无心跳
}
],
'allow-temp-session': false // 是否允许临时消息
}
```
> 2024-3allow-temp-session已经在后续版本中去除未来需要在你自己的接收端对消息来源进行拦截或处理
| 参数名称 | 类型 | 作用 | 例子 |
| --------------- | -------- | -------------------------------------------------------------------------------- | ----------- |
| `default_token` | `string` | 默认 `token` **HTTP接口/主被动WS** 如果未单独定义 `token` ,则使用默认 `token` | `aaa123456` |