Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note to prevent misunderstanding #193

Merged
merged 3 commits into from
Nov 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions zh-CN/guide/console/data.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Koishi 控制台前后端的数据交互基本是通过 WebSocket 实现的。为了适应不同的场景,我们提供了多种数据交互的形式。

::: tip
在前后端之间传递的数据需要经过 JSON 序列化,因此请避免传入函数和自引用对象等无法被 JSON 序列化的内容。
:::

## 被动推送

后端代码:
Expand Down
Loading