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

是否会有具体的API调用 #11

Open
Petercode7592 opened this issue Mar 31, 2024 · 1 comment
Open

是否会有具体的API调用 #11

Petercode7592 opened this issue Mar 31, 2024 · 1 comment

Comments

@Petercode7592
Copy link

如题,想要更高的可拓展性。
看到是用websocket 实现的长连接,能否有API 支持获取最新的消息,或者是群组频道的输入状态,亦或者是发送消息(包括但不限定于文字或图片)得以实现一种另类的剪贴板同步?

@Zuoqiu-Yingyi
Copy link
Owner

目前的实现方案是基于 WebSocket 的 yjs CRDT 广播实现的内容同步, 没有相关的 API, 想要推送或接受消息, 只能通过另一个 yjs 客户端或者监听 data/storage/petal/inbox 目录下的文件实现

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants