Live demo — data resets daily at 03:00 UTC. Nothing you enter is saved. Server UI →

Connection

Check whether the API is connected to the hardware manager.

Methods

Method Returns Description
GetStatusAsync(ct?) Task<ConnectionStatusDto> Check the hardware manager connection state.

Example

var status = await client.Connection.GetStatusAsync();
if (status.IsConnected)
    Console.WriteLine("Connected to hardware manager");
else
    Console.WriteLine($"Not connected: {status.LastError}");

Response Model

ConnectionStatusDto

Property Type Description
IsConnected bool true if the API is connected to the hardware manager
LastError string? Last connection error message, if any
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.