fix(http): return response early in JS before waiting for chunks on the rust side (#2522)

This commit is contained in:
Adriel Jansen Siahaya
2025-03-15 08:06:41 +08:00
committed by GitHub
parent 1e9e496b06
commit d3183aa99d
6 changed files with 81 additions and 52 deletions
+2 -1
View File
@@ -36,7 +36,8 @@ pub fn init<R: Runtime>() -> TauriPlugin<R> {
.invoke_handler(tauri::generate_handler![
commands::fetch,
commands::fetch_cancel,
commands::fetch_send
commands::fetch_send,
commands::fetch_read_body
])
.build()
}