Ways to pass data from Webview to Tauri and back #48
Labels
basic functionality
early, pre-launch development stuff. everything before 1.0
dependencies
related to third-party packages the app uses
rust
anything that largely involves the Rust backend
typescript
anything that largely involves JavaScript/TypeScript code
There are a couple of different ways to do this.
One of these is Tauri's built-in implementation with events & serde_json:
Another option is an HTTP API on the Rust end
A third option (which I am personally in favor of) is a websocket server on the Rust end:
The text was updated successfully, but these errors were encountered: