-
-
Notifications
You must be signed in to change notification settings - Fork 17
Remote Script Execution
Namhyeon, Go edited this page Sep 25, 2024
·
4 revisions
Starting from version 0.2.7.19, WelsonJS supports the Remote Script Execution feature. You can test it as follows:
cscript app.js https://pub-f926e14287b340cd9eff33731bb25329.r2.dev/helloworld.js
If you want to use it within your code, you can do it like this:
var HELO = require("https://pub-f926e14287b340cd9eff33731bb25329.r2.dev/helloworld.js");
HELO.main();
If it works correctly, the console will output the following results:
[*] Requested URL: https://pub-f926e14287b340cd9eff33731bb25329.r2.dev/helloworld.js
[*] Received 81 bytes
[*] Hello world
This document may contain outdated content. For the latest information, please contact us directly or refer to the webpage below.