UCE Docs / http_request_async

Example

DValue req; req["method"] = "GET"; req["url"] = "http://127.0.0.1/doc/index.uce";
req["headers"]["Host"] = "uce.openfu.com"; req["timeout_ms"] = (f64)2000;
u64 job = http_request_async(req);
DValue done = job_await(job, 3000);
print("async HTTP ", done["result"]["status"].to_u64(), "\n");
Output
async HTTP 200