tide-rhai 0.0.2

A scritping component for tide.
1
2
3
4
5
6
7
8
let fetchoptions = fetch_options();
fetchoptions.url = "https://httpbin.org/get";
fetchoptions.headers = #{"Accept" : "application/json"};
let result = fetch(fetchoptions);
log(result.body.origin);
let retval = #{};
retval.url = fetchoptions.url;
retval