Elf M. Sternberg

Full Stack Web Developer

Where one teaches, two learn.

Tag: #rust

To all tags

Async Rust: Server-Side Events with a Remote Heartbeat

This project took me forever to figure out, so I'm going to document it as much as possible. What I've been trying to get to is a simple, Async Rust codebase that would allow me to plug in web-based server-side events or web socket events and then send them over to one or more clients as needed. A lot of this code comes from a variety of examples that I stitched together, and getting them to work well was a headache, so now you get to share in it.