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
用于存储一些会话Id信息,比如在初始化的时候,提交了一个token,可以跟这个socket关联,后边的msg就不用带这个token都知道是这个socket上报的信息,添加一个这个字段可以减少很多业务逻辑的编写
The text was updated successfully, but these errors were encountered:
可以保存在HttpContext.Items里面,也可以在缓存里面保存两份,例如: cache.set("node:ws", websocket); cache.set("node:token", token);
Sorry, something went wrong.
No branches or pull requests
用于存储一些会话Id信息,比如在初始化的时候,提交了一个token,可以跟这个socket关联,后边的msg就不用带这个token都知道是这个socket上报的信息,添加一个这个字段可以减少很多业务逻辑的编写
The text was updated successfully, but these errors were encountered: