mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-19 08:31:35 +03:00
fedf93eb7e
* 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 |
||
---|---|---|
.. | ||
index.html | ||
main.rs | ||
README.md | ||
tauri.conf.json |
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
.