Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TributePaulWalker/Profiles
/ http
Function
http
JavaScript/Surge/ConnectivityTest.js:31–40 ·
view source on GitHub ↗
(req)
Source
from the content-addressed store, hash-verified
29
})();
30
31
function
http(req) {
32
return
new
Promise((r) => {
33
let
time = Date.now();
34
$httpClient.post($[req], (err, resp, data) => {
35
r(req +
36
'\xa0\xa0\xa0\t: '
+
37
(Date.now() - time)+
' ms'
);
38
});
39
});
40
}
Callers
1
ConnectivityTest.js
File · 0.85
Calls
1
post
Method · 0.45
Tested by
no test coverage detected