Health
The health check endpoint enables you to periodically test the health of your MeiliSearch instance.
Get health
GET
/health
Get health of MeiliSearch server.
Example
$ curl \
-X GET 'http://localhost:7700/health'
client.isHealthy()
client.health()
$client->health();
client.health
client.Health().Get()
// health() return an Err() if the server is not healthy, so this example would panic due to the unwrap
client.health().await.unwrap();
Response: 204 No Content
当前内容版权归 MeiliSearch 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 MeiliSearch .