Live data from Hacker News

Ezsockets – Rust WebSockets made easy

github.com

1–2 of 2 posts

Re: Ezsockets – Rust WebSockets made easy

#2
Hi, 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.