neos 0.6.5

NeosVR's API in rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use racal::Queryable;

use super::NoAuthentication;

/// Pings the API
pub struct Ping;

impl Queryable<NoAuthentication, ()> for Ping {
	fn url(&self, _: &NoAuthentication) -> String {
		format!("{}/testing/ping", crate::API_BASE_URI)
	}

	fn deserialize(&self, _data: &[u8]) -> serde_json::Result<()> { Ok(()) }
}