How long to wait for the initial connection.
Optionally, the directory to look for the file in.
If this option is used, filePath can be a relative path rather than absolute
For uploading a file natively, the path to the file on disk to upload
The field name to upload the file with
How long to wait to read additional data. Resets each time new data is received
This is used to parse the response appropriately before returning it to the requestee. If the response content-type is "json", this value is ignored.
Use this option if you need to keep the URL unencoded in certain cases (already encoded, azure/firebase testing, etc.). The default is true.
The URL to upload the file to
Extra arguments for fetch when running on the web
Generated using TypeDoc
For uploading a file on the web, a JavaScript Blob to upload