Draft websocket example 🎉
This commit is contained in:
parent
2f557731f3
commit
dc50a2830a
8 changed files with 426 additions and 73 deletions
12
examples/websocket/README.md
Normal file
12
examples/websocket/README.md
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue