health method
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);
}
Returns the health status of an RPC node.
Future<HealthStatus> health() async {
final http.Response response =
await _client.get(uri.replace(path: 'health'));
return HealthStatus.fromJson(response.body);
}