TS3
An async library to connect to the ts3 serverquey interface.
Examples
use ts3::Client;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
// Create a new client
let client = Client::new("127.0.0.1:10011").await?;
// Connect to virtualserver 1
client.use_sid(1).await?;
// Use whoami to fetch info about the query client
let data = client.whoami().await?;
println!("{}", data);
}