WebSocketBase.ping

void ping(in ubyte[] data = null)

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. Group: foundational