Hacker News new | ask | show | jobs
by gbaranski 1209 days ago
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.