3 ms·
Ezsockets – Rust WebSockets made easy
- gbaranski 4y agoHi, because of the complexity of creating a WebSocket Client/Server, I made a library that simplifies everything into a easy to use declarative API. It also implements heartbeat mechanism with automatic reconnection. The Server's Session object itself is concurrent, so making a chat-like server with is very easy to do. It's a thin actor based wrapper around tokio-tungstenite, but can be also integrated with Axum, and in the future - with actix-web.