health method

Future<HealthStatus> health()

Returns the health status of an RPC node.

Implementation

Future<HealthStatus> health() async {
  final http.Response response =
      await _client.get(uri.replace(path: 'health'));
  return HealthStatus.fromJson(response.body);
}