public GenericOutcome ReportHealth(bool healthStatus) { var rHealth = new ReportHealth { HealthStatus = healthStatus }; return(EmitEvent(rHealth)); }
public async Task <GenericOutcome> ReportHealth(bool isHealthy) { var rHealth = new ReportHealth { HealthStatus = isHealthy }; var response = await SendAsync(rHealth).ConfigureAwait(false); return(ParseHttpResponse(response)); }