QWebsocket::closeReason()
-
If the server closes the socket, is this "reason" obtainable? Or is it only used if the client closes the socket? In other words, I guess I wonder what the reason is for this accessor? If the client (my qt app) closes the socket, it certainly knows the reason. If the server closes the socket, it knows the reason. My client app wants to know the reason the server closed so can I use this method to get the reason?
-
See QWebSocket::closeCode() to retrieve the reason.