Unsolved How to make a websocket ping/pong in QML?
-
I'm trying to make a ping/pong system to check if the connection with the server is still up, but there is no mention about it in the documentation for WebSocket QML Type.
However QWebSocket Class has all the needed functions. How come the QML type as it's interface doesn't have them implemented, or I'm doing something wrong?Is it possible to "simulate" a ping/pong using one of the
send
methods and check the response in the co-respondingreceived
signal?
Or should I implement the functionality from the class in some cpp/hpp file and use it that way?