Closed AnupamKris closed 1 day ago
You may serve binary data using a custom http server. Data passed between frontend and backend using js api is serialised using JSON. Encoding binary as base64 or such is one option, but it is probably not suitable for serving large amounts of data.
But can I use the custom http server the same way as exposing functions or should I use fetch or axios to use it?
You can use js api with an external http server, but you would need to fetch binary data exposed by http server using rest api.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The message to post on the issue when closing it. If none provided, will not comment when closing an issue.
Specification
Description
Is it possible to return a binary data as such to frontend rather than converting it into a string and parsing in js?
Practicalities
NO - I am willing to work on this issue myself.
NO - I am prepared to support this issue financially.