koneksi-ts-sdk
Version:
A JS/TS SDK for interacting with Koneksi API services
14 lines (13 loc) • 358 B
JavaScript
export class HealthOperations {
constructor(httpClient) {
this.httpClient = httpClient;
}
/**
* Check the health status of the API service
* @returns Promise<HealthResponse> - Health check response
*/
async check() {
const response = await this.httpClient.get("/check-health");
return response;
}
}