Skip to content

websocket主动关闭为什么不能自定义关闭码和原因 #1094

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

Open
msqxiaoqiang opened this issue Mar 21, 2025 · 0 comments
Open

websocket主动关闭为什么不能自定义关闭码和原因 #1094

msqxiaoqiang opened this issue Mar 21, 2025 · 0 comments

Comments

@msqxiaoqiang
Copy link

目前封装的方式实现效果是在断开前发送一条消息,但有时候需要根据断开ws连接code、reason去判断,目前看没法实现

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