rive_http/revolt/
core.rs

1use rive_models::core::InstanceConfiguration;
2
3use crate::prelude::*;
4
5impl Client {
6    pub async fn query_node(&self) -> Result<InstanceConfiguration> {
7        Ok(self
8            .client
9            .get(ep!(self, "/"))
10            .send()
11            .await?
12            .process_error()
13            .await?
14            .json()
15            .await?)
16    }
17}