Dummy client to learn the other half of WebSockets

This is mostly a copy of ambiso/bevy_websocket_example:
https://github.com/ambiso/bevy_websocket_example/tree/main

It demonstrates how to hold and use a (Tungstenite) WebSocket in a Bevy
app. I've altered it slightly (and skipped impl'ing the send function)
to fit my own chatroom dummy target.

This is completely useless as a chatroom app, but it's not supposed to
be one. Now I can move on to building the actual Pong game!
This commit is contained in:
2025-10-18 10:57:22 -05:00
parent 0ebc137369
commit 7128377924
3 changed files with 212 additions and 1 deletions

View File

@@ -4,3 +4,7 @@ version = "0.1.0"
edition = "2024"
[dependencies]
bevy = { version = "0.17.2", features = ["serialize"] }
rustls = "0.23.33"
thiserror = "2.0.17"
tungstenite = { version = "0.28.0", features = ["rustls-tls-webpki-roots", "rustls"] }