Optional
abortOptional
includeOptional
nameName to give the file on the server. Defaults to file.name.
Optional
typeContent-type for the upload. Defaults to file.type, or applicaton/octet-stream.
Optional
progressOptional. Called when a chunk of
data has been uploaded, with an object containing the fields loaded
(number of bytes transferred) and total
(total size, if known).
Generated using TypeDoc
if false will not send the filename, e.g for encrypted file uploads where filename leaks are undesirable. Defaults to true.