#tauri-websocket rust access

5 messages · Page 1 of 1 (latest)

still kite
#

There's nothing exposedin the tauri crate, so you'd probably just do it through a generic Rust approach, yes. I'd recommend doing whatever works best with Tokio, which... I can check if you give me a sec

#

Wait, you're wanting a socket connection between the WebView frontend and the Rust backend?

#

If so, I'd suggest against it. There's absolutely no benefit over using a combination of Commands and Events

#

You could even just use Events for this