websocat 4.0.0-alpha2

Command-line client for web sockets, like netcat/curl/socat for ws://.
Documentation
1
2
3
4
5
6
7
8
9
#[tokio::main(flavor = "current_thread")]
async fn main() -> anyhow::Result<()> {
    tracing_subscriber::fmt::init();
    let argv = std::env::args_os();
    let stderr = std::io::stderr();
    let time_base = tokio::time::Instant::now();
    let registry = websocat::scenario_executor::types::Registry::default();
    websocat::websocat_main(argv, stderr, time_base, true, registry).await
}