shilp_sdk/health.rs
1use crate::client::Client;
2use crate::error::Result;
3use crate::models::HealthResponse;
4
5impl Client {
6 /// Performs a health check on the API
7 pub async fn health_check(&self) -> Result<HealthResponse> {
8 self.do_request::<HealthResponse, ()>(reqwest::Method::GET, "/health", None, None)
9 .await
10 }
11}