Does WebSocket QML Type support any ping/pong system?
Documentation doesn't say anything about it, so I'm wondering if there is a way to "simulate" ping/pong
, e.g. trying to use one of the send
methods and check what comes back in the co-responding received
signal?
Or should I use QWebSocket Class to implement it?
Also would it be bad practice to keep the QML WebSocket
for send/receive functionality, while using the class just for ping/pong purpose, so better just implement whole functionality in the class?