summaryrefslogtreecommitdiffstats
path: root/examples/websocket/README.md
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-01-16 15:50:19 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-01-16 15:50:19 +0700
commitdc50a2830ab553dfc5dfc28d4fd1af6b3981c656 (patch)
tree4ff8bce15f88a0ca610551fdd81afa968f7fda58 /examples/websocket/README.md
parent2f557731f313ccc94b5d0ebb4ee5603624670daf (diff)
downloadiced-dc50a2830ab553dfc5dfc28d4fd1af6b3981c656.tar.gz
iced-dc50a2830ab553dfc5dfc28d4fd1af6b3981c656.tar.bz2
iced-dc50a2830ab553dfc5dfc28d4fd1af6b3981c656.zip
Draft `websocket` example :tada:
Diffstat (limited to 'examples/websocket/README.md')
-rw-r--r--examples/websocket/README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/websocket/README.md b/examples/websocket/README.md
new file mode 100644
index 00000000..fcdee9f3
--- /dev/null
+++ b/examples/websocket/README.md
@@ -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