wsclient 0.1.2

A websocket client using tokio-tungstenite for easy dev
Documentation
1
2
3
4
5
6
7
8
9
10
use std::env;
use wsclient;

#[tokio::main]
pub async fn main() {
    let url = env::args()
        .nth(1)
        .unwrap_or_else(|| panic!("this program requires at least one argument"));
    wsclient::WsClient::new().chat(url).await;
}