how to close a webSocket connection with custom reason on server? #1604
-
Now i use this to close : ws->close(); The client is android(java), on close event there is a reason param : public void onClose(int code, String reason, boolean remote) |
Beta Was this translation helpful? Give feedback.
Answered by
uNetworkingAB
May 14, 2023
Replies: 1 comment
-
websocket::end(code, message) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
uNetworkingAB
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
websocket::end(code, message)