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

socket.io无法获取到query #22

Open
jinceon opened this issue Nov 9, 2016 · 0 comments
Open

socket.io无法获取到query #22

jinceon opened this issue Nov 9, 2016 · 0 comments

Comments

@jinceon
Copy link

jinceon commented Nov 9, 2016

io("http://localhost:4000",{query:{'authorization': a }});

我用socket.io官网下载的js,socket.handshake.query.authorization是有值的;

但是我用socket.io.ts,socket.handshake.query里没有authorization,但是socket.request._query里有authorization

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

1 participant