• Start

Languages

/

Mojo

/

Methods

health

The health() method for the SurrealDB Mojo SDK runs a health check against the server.

Runs a health check to verify that the server is reachable and accepting commands.

Method Syntax

client.health()

This method takes no arguments.

client.health()

If the server is unreachable, the call raises a ConnectionError.

Was this page helpful?