static WebSocketFrame ofPing(byte[] data) {
        requireNonNull(data, "data");
        if (data.length == 0) {
            return EMPTY_PING;
        }
        return new ByteArrayWebSocketFrame(data, WebSocketFrameType.PING);
    }
Returns a new ping {@link WebSocketFrame} with the {@code data}.

@see <a href="https://datatracker.ietf.org/doc/html/rfc6455#section-5.5.2">Ping</a>
core/src/main/java/com/linecorp/armeria/common/websocket/WebSocketFrame.java