Websocket starter in Rust with client and server example
Server code for websockets (server): https://github.com/campbellgoe/rust_websocket_server use tokio::net::TcpListener; use tokio_tungstenite::accept_async; use tokio_tungstenite::tungstenite::protocol::Message; use anyhow::Result; use futures_util::{SinkExt, StreamExt}; #[tokio::main] async fn […]