refactored the code to get and send messages from a websocket server

This commit is contained in:
Valmo Trindade
2024-10-21 01:53:41 -03:00
parent cb031d7c65
commit 059b749cab
4 changed files with 529 additions and 330 deletions

View File

@@ -7,6 +7,7 @@ edition = "2021"
arma-rs = "1.10.4"
futures = "0.3.31"
futures-util = "0.3.31"
http = "1.1.0"
lazy_static = "1.5.0"
log = "0.4.22"
log4rs = "1.3.0"
@@ -17,6 +18,7 @@ serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.128"
tokio = { version = "1.40", features = ["full"] }
tokio-tungstenite = "0.24.0"
ws = "0.9.2"
[dependencies.uuid]
version = "1.10.0"