what is the recommended way to send much (multiple MB) of binary data from JavaScript to C++?
I thought of the filesystem api, but the resulting filenames etc. are obfuscated.
From the GeneralUsage i can see that I can send requests like this:
- Code: Select all
var request_id = window.cefQuery({
request: 'my_request',
persistent: false,
onSuccess: function(response) {},
onFailure: function(error_code, error_message) {}
});
However, for all I found, the request can only be a String. Is it a good idea to base64 multiple mb data and sent it as request?
Because that sounds like abusing the query mechanism.
Cheers
Somebodyy