-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Description
I'm using v0.12.0 for reference.
Is your feature request related to a problem? Please describe.
The current http client only returns the body from the response. It needs to return all of the response meta data as well. Status, headers etc.
Describe the solution you'd like
I would just return a response object from the rust side and allow people to handle the response however they need in javascript. It would probably make sense to try to emulate the api of popular http clients in the js world, like axios. Perhaps tauri could even supply a backend for one of those clients.
Describe alternatives you've considered
browser's fetch api et al.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels