We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
遇到了什么问题? 在taro框架中无法发起连接,也不报错
代码为: import io from 'weapp.socket.io';
const _socket = io(HxSocketWss, { auth: { userId: customerId, tenantId: lesseeId, role: 'user', clientId: ${Math.random()}_${Date.now()}_mini, // 识别是哪个 client 连的 platform: 'Web', }, transports: ['websocket'], });
${Math.random()}_${Date.now()}_mini
taro版本号:3.6.8
The text was updated successfully, but these errors were encountered:
解决了吗, 我这也是安装的weapp.socket.io@^2.2.1, 依赖socket.io-client "2.2.0"。 服务端python 使用的socket.io2 总是显示连接超时 "._src_utils_socket.ts:37 Connection error: Error: timeout"
Sorry, something went wrong.
我也是一样,神奇了。
No branches or pull requests
遇到了什么问题?
在taro框架中无法发起连接,也不报错
代码为:
import io from 'weapp.socket.io';
const _socket = io(HxSocketWss, {
auth: {
userId: customerId,
tenantId: lesseeId,
role: 'user',
clientId:
${Math.random()}_${Date.now()}_mini
, // 识别是哪个 client 连的platform: 'Web',
},
transports: ['websocket'],
});
taro版本号:3.6.8
The text was updated successfully, but these errors were encountered: