https://github.com/cablehead/hyper-examples
https://github.com/cablehead/hyper-examples
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cablehead/hyper-examples
- Owner: cablehead
- Created: 2023-11-21T17:00:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-21T17:08:46.000Z (over 2 years ago)
- Last Synced: 2025-03-25T05:05:47.362Z (about 1 year ago)
- Language: Rust
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hyper-examples
Various experiments to help me learn hyper, particularly the new [hyper v1](https://seanmonstar.com/blog/hyper-v1/)
- [broadcast](./broadcast/src/main.rs): stream the current time to all connections using tokio::sync::broadcast
- [watch](./watch/src/main.rs): stream the current time to all connections using tokio::sync::watch