code: public static void sendPingBlocking(final ByteBuffer data, final WebSocketChannel wsChannel) throws IOException {
          sendBlockingInternal(data, WebSocketFrameType.PING, wsChannel);
      }
docs: Sends a complete ping message using blocking IO
  
  @param data The data to send
  @param wsChannel The web socket channel