Implement ping component

This commit is contained in:
Zaid Abdulla committed 2018-12-26 00:22:07 -08:00
1 parent 8b540c2a97
commit 722355ca57
7 files changed
+127 -1

No files matched your search

+8 -1
View File
@@ -400,6 +400,12 @@ function logOut() {
});
}
function ping(host) {
return m.request({
url: `/api/ping/${encodeURIComponent(host)}`
});
}
export {
count,
fetch,
@@ -411,5 +417,6 @@ export {
deleteResource,
evaluateExpression,
logIn,
logOut
logOut,
ping
};