use libwisp::{WispContext, WispSetServer, WispGetServer, WispClose};
use tokio;
#[tokio::main]
async fn main() {
let mut ctx = WispContext::new();
WispSetServer(&mut ctx, "wss://wispserver.dev/wisp/").await;
let server_url = WispGetServer(&ctx);
println!("connected to wisp server: {}", server_url);
WispClose(&mut ctx).await;
}