mirror of
https://github.com/apache/cordova-plugin-file-transfer.git
synced 2026-07-13 00:10:15 +08:00
Updated documentation for browser
This commit is contained in:
@@ -182,6 +182,9 @@ A `FileUploadResult` object is passed to the success callback of the
|
||||
|
||||
- Does not support `responseCode` or `bytesSent`.
|
||||
|
||||
### Browser Quirks
|
||||
|
||||
- __withCredentials__: _boolean_ that tells the browser to set the withCredentials flag on the XMLHttpRequest
|
||||
|
||||
## download
|
||||
|
||||
@@ -230,6 +233,10 @@ __Parameters__:
|
||||
|
||||
- Download requests is being cached by native implementation. To avoid caching, pass `if-Modified-Since` header to download method.
|
||||
|
||||
### Browser Quirks
|
||||
|
||||
- __withCredentials__: _boolean_ that tells the browser to set the withCredentials flag on the XMLHttpRequest
|
||||
|
||||
## abort
|
||||
|
||||
Aborts an in-progress transfer. The onerror callback is passed a FileTransferError object which has an error code of FileTransferError.ABORT_ERR.
|
||||
|
||||
Reference in New Issue
Block a user