Skip to main content

ResQ.Clients

CoordinationHceClient Class

HTTP client for coordination-hce (Node.js/Elysia) service. Provides methods to send telemetry, report incidents, and query fleet status. Inherits resilience patterns from BaseServiceClient.
public class CoordinationHceClient : ResQ.Clients.BaseServiceClient
Inheritance System.ObjectBaseServiceClient → CoordinationHceClient
Methods
AuthenticateAsync(string, string, CancellationToken)Authenticates with HCE to get JWT token (if auth is enabled).
GetFleetStatusAsync(string, CancellationToken)Gets the status of a fleet. Includes retry logic for transient read failures.
GetHealthAsync(CancellationToken)Gets HCE health status. Includes retry logic for transient read failures.
ReportIncidentAsync(ReportIncidentRequest, CancellationToken)Reports an incident to HCE. Uses timeout and circuit-breaker handling without replaying the mutation on failure.
SendTelemetryBatchAsync(TelemetryBatchRequest, CancellationToken)Sends a batch of telemetry packets from a drone. Uses timeout and circuit-breaker handling without replaying the mutation on failure.