WebSocket.ping

Sends a ping message to the server. This is done automatically by the library if you set a non-zero Config.pingFrequency, but you can also send extra pings explicitly as well with this function.

class WebSocket
void
ping
(
in ubyte[] data = null
)

See Also

Meta