Skip to main content
Version: 5.9.6

GetServerStatus

public BackendReturnObject GetServerStatus();

Description

The status of the project registered to BACKND Console > Server Settings > Project Status is looked up.

Example

Synchronous

Backend.Utils.GetServerStatus();

Asynchronous

Backend.Utils.GetServerStatus((callback) => 
{
// Post-process
});

SendQueue

SendQueue.Enqueue(Backend.Utils.GetServerStatus, (callback) => 
{
// Post-process
});

Return cases

Success cases

When the lookup is successful
statusCode : 200

returnValue : refer to GetReturnValuetoJSON

GetReturnValuetoJSON

{
"serverStatus" : 1
}
serverStatusDescription
0Online
1Offline
2Maintenance