mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
* refactor(core): return 200 on any IPC call, closes #10286 By default the webview prints a `Failed to load resource: the server responded with a status of 400 (Bad Request) ipc://localhost` error message when a command returns an error, which is confusing to users. This changes the IPC to return status 200 on any call, with a header to indicate whether the result was ok or not. This removes the console error, which would only log the actual error result if it isn't caught by the user. * add change file * apply code review changes
Streaming example
A simple Tauri Application showcase the streaming functionality.
To execute run the following on the root directory of the repository: cargo run --example streaming.
By default the example uses a custom URI scheme protocol. To use the builtin asset protocol, run cargo run --example streaming --features protocol-asset.