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:
@@ -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"] }
|
||||
|
||||
Reference in New Issue
Block a user