Just wondering, does this plugin have to upload the file to the rust backend first via IPC, or does it just upload directly to the destination server from the JS part?
`import { upload } from '@tauri-apps/plugin-upload'
upload(
'https://example.com/file-upload',
'./path/to/my/file.txt',
(progress, total) => console.log(Uploaded ${progress} of ${total} bytes), // a callback that will be called with the upload progress
{ 'Content-Type': 'text/plain' } // optional headers to send with the request
)`