Skip to content

Commit 2579d25

Browse files
jnughFabianLars
andauthored
feat(websocket): Add proxy configuration (#1536)
Co-authored-by: FabianLars <[email protected]>
1 parent 84049c4 commit 2579d25

File tree

3 files changed

+207
-28
lines changed

3 files changed

+207
-28
lines changed

Cargo.lock

Lines changed: 44 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/websocket/Cargo.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,10 @@ http = "1"
1919
rand = "0.8"
2020
futures-util = "0.3"
2121
tokio = { version = "1", features = ["net", "sync"] }
22-
tokio-tungstenite = { version = "0.27", features = ["native-tls"] }
22+
tokio-tungstenite = { version = "0.27", features = ["rustls-tls-webpki-roots"] }
23+
hyper = { version = "1", features = ["client"] }
24+
hyper-util = { version = "0.1", features = ["tokio", "http1"] }
25+
base64 = "0.22"
26+
27+
[features]
28+
rustls-tls-native-roots = ["tokio-tungstenite/rustls-tls-native-roots"]

0 commit comments

Comments
 (0)