Draft websocket example 🎉

This commit is contained in:
Héctor Ramón Jiménez 2022-01-16 15:50:19 +07:00
parent 2f557731f3
commit dc50a2830a
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
8 changed files with 426 additions and 73 deletions

View file

@ -0,0 +1,12 @@
## Websocket
A simple example that keeps a WebSocket connection open to an echo server.
The __[`main`]__ file contains all the code of the example.
You can run it with `cargo run`:
```
cargo run --package websocket
```
[`main`]: src/main.rs