Skip to content
This repository has been archived by the owner on Mar 21, 2020. It is now read-only.

socket query第二次连接时无法更新 #30

Open
DelCoding opened this issue Feb 26, 2019 · 0 comments
Open

socket query第二次连接时无法更新 #30

DelCoding opened this issue Feb 26, 2019 · 0 comments

Comments

@DelCoding
Copy link

DelCoding commented Feb 26, 2019

代码如下,当第二次连接指定query时, socket无法更新

socket = io(socket_url + roomid, {
    query: "openid=" + openid + "&sessionid=" + sessionid,
    upgrade: false,
    transports: ['websocket']
});
socket.connect()
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant