2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-27 05:23:13 +00:00
This commit is contained in:
2024-06-09 20:42:25 +03:00
parent 62617f2c30
commit 08410de9c3
10 changed files with 811 additions and 7 deletions

View File

@ -0,0 +1,18 @@
async function init() {
try {
connection = await wh.get(`iip://${window.location.hostname}`, {
autoReconnect: true
});
window.demo = await connection.get("sys/demo");
}
catch (ex)
{
alert(ex);
}
}
const FORMAT_CONNECTION_STATUS = (x) => ["Offline", "Connecting...", "Online"][x];