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

websocket问题 #36

Open
Dovar66 opened this issue Jan 15, 2019 · 1 comment
Open

websocket问题 #36

Dovar66 opened this issue Jan 15, 2019 · 1 comment

Comments

@Dovar66
Copy link

Dovar66 commented Jan 15, 2019

在百度小程序上调用
swan.sendSocketMessage({
data: 使用ArrayBuffer类型的数据
}),
但服务端实际收到的data不是ArrayBuffer而是utf-8的字符串。
请问百度小程序为什么要将data转成字符串再发送到socket通道?能否取消这个操作?因为这个问题导致我无法在百度小程序上使用mqtt实现IM。

@Mangon
Copy link
Contributor

Mangon commented Jan 31, 2019

你可以到 论坛 中反映问题。

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