How to implement the WebSocket connection in Dioxus? #3242
Replies: 2 comments
-
I think you have to do it yourself basically. Dioxus does not do anything to help you. Which means you have to use the instructions here to get access to the Axum Router: https://docs.rs/dioxus-fullstack/latest/dioxus_fullstack/#axum-integration There is an example websocket client here: #1721 And I wrote an example full stack app that does both server and client here(*): https://github.com/brianmay/dioxus-fs-demo/blob/main/src/main.rs (*) still under development but does work and doesn't yet support reconnecting if socket goes down. |
Beta Was this translation helpful? Give feedback.
-
Also see this response here: #3378 (reply in thread) |
Beta Was this translation helpful? Give feedback.
-
.
Beta Was this translation helpful? Give feedback.
All reactions