MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / web_req_build_url

Function web_req_build_url

wasm/web_request.js:46–55  ·  view source on GitHub ↗
(url, ctxId)

Source from the content-addressed store, hash-verified

44}
45
46var web_req_build_url = function (url, ctxId) {
47 for (var i = 0; i < web_req_ctxs[ctxId].params.length; i++) {
48 if (i == 0)
49 url += "?";
50 else
51 url += "&";
52 url += web_req_ctxs[ctxId].params[i].key + "=" + web_req_ctxs[ctxId].params[i].value;
53 }
54 return url;
55}
56
57var web_req_get_payload = function (ctxId) {
58 var payload = null;

Callers 3

web_req_sendFunction · 0.85
web_req_sync_downloadFunction · 0.85
web_req_async_downloadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected