src/WSclient.cpp
bool WebSocketsClient::sendPing(uint8_t * payload, size_t length) {
    if(clientIsConnected(&_client)) {
        return sendFrame(&_client, WSop_ping, payload, length, true);
    }
    return false;
}
/**
 * sends a WS ping to Server
 * @param payload uint8_t *
 * @param length size_t
 * @return true if ping is send out
 */
sends a WS ping to Server
@param payload uint8_t
@param length size_t
@return true if ping is send out
sends a WS ping to Server @param payload uint8_t @param length size_t @return true if ping is send out
bool WebSocketsClient::sendPing(uint8_t * payload, size_t length) {
    if(clientIsConnected(&_client)) {
        return sendFrame(&_client, WSop_ping, payload, length, true);
    }
    return false;
}
bool WebSocketsClient :: sendPing ( uint8_t * payload , size_t length ) { if ( clientIsConnected ( & _client ) ) { return sendFrame ( & _client , WSop_ping , payload , length , true ) ; } return false ; }
sends a WS ping to Server
 @param payload uint8_t
 @param length size_t
 @return true if ping is send out
sends a WS ping to Server @param payload uint8_t @param length size_t @return true if ping is send out