Determines if the WebSocket connection is still alive and ready for sending.
Note that for determining the ready state for reading, you need
to use waitForData instead, because both methods can return
different values while a disconnect is in proress.
Determines if the WebSocket connection is still alive and ready for sending.
Note that for determining the ready state for reading, you need to use waitForData instead, because both methods can return different values while a disconnect is in proress.