uptrakit-openapi-client 0.0.4

Typed HTTP client for the Uptrakit web API
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::Result;
use crate::UptrakitClient;

impl UptrakitClient {
    /// Check server health.
    ///
    /// This endpoint does not require authentication. Returns `"ok"` on success.
    pub async fn healthz(&self) -> Result<String> {
        self.get_text_unauth(crate::paths::health::HEALTHZ).await
    }
}