Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ways to pass data from Webview to Tauri and back #48

Open
bdotsamir opened this issue Mar 22, 2024 · 0 comments
Open

Ways to pass data from Webview to Tauri and back #48

bdotsamir opened this issue Mar 22, 2024 · 0 comments
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

Comments

@bdotsamir
Copy link
Collaborator

bdotsamir commented Mar 22, 2024

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:

@bdotsamir bdotsamir changed the title Ways to pass data from Webview to Tauri Ways to pass data from Webview to Tauri and back Mar 22, 2024
@github-actions github-actions bot added the needs triage new issues that need to be sorted label Mar 22, 2024
@bdotsamir bdotsamir added dependencies related to third-party packages the app uses basic functionality early, pre-launch development stuff. everything before 1.0 rust anything that largely involves the Rust backend typescript anything that largely involves JavaScript/TypeScript code and removed needs triage new issues that need to be sorted labels Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
Status: 📋 More Info Required
Development

No branches or pull requests

1 participant