Skip to main content

ResQ.Core

HceClient Class

Client for the HCE (Human-Centric Emergency) coordination layer.
public sealed class HceClient : System.IDisposable
Inheritance System.Object → HceClient Implements System.IDisposable

Example

var client = new HceClient("http://localhost:3000");

var success = await client.SendTelemetryAsync(telemetryPacket);
if (success)
{
    Console.WriteLine("Telemetry sent successfully");
}

Remarks

Provides methods for sending telemetry and reporting detections to the HCE coordination service.
Constructors
HceClient(string)Initializes a new instance of the HceClient class.
Methods
ReportDetectionAsync(Detection, string, CancellationToken)Reports a critical detection to the HCE service.
SendTelemetryAsync(TelemetryPacket, CancellationToken)Sends telemetry data from a drone to the HCE service.