Returning an already serialised object from command #9312
Unanswered
AudriusButkevicius
asked this question in
Q&A
Replies: 1 comment
-
I see the ipc v2 has landed, however there isn't much docs on how to use that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I already have a Vec that contains the json payload I want to return. Can I somehow tell Tauri not to reserialize that? I guess I can have a wrapper struct that implements the serialise crate which does nothing, but I hoped there is a better way to do this?
Also, what about cases where the amount of data I'm sending is quite big? Getting access to the response writer would be quite useful not having to have the massive allocation, and just stream the response to the browser.
Beta Was this translation helpful? Give feedback.
All reactions