-
Notifications
You must be signed in to change notification settings - Fork 342
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
WebSocket adapter 文档的独有接口未完善 #474
Comments
websocket 的文件上传涉及到 socket 阻塞,所以还没有做 |
是不是现在只能用http先上传文件? |
我的理解是目前连接mah2可以采用两种方案:
没有单独使用的选项 这样大概会造成一些麻烦(指配置文件需要写两个adapter 意义不明)...? 或者我的理解有问题 |
阻塞问题可以新建一个websocket连接,专门用于上传文件,用完断开。 注:这里只是针对ws情况,虽然有http |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/project-mirai/mirai-api-http/blob/master/docs/adapter/WebsocketAdapter.md#%E5%9B%BE%E7%89%87%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0
语音/图片/文件上传
The text was updated successfully, but these errors were encountered: