Repository: cordova-plugin-file-transfer Updated Branches: refs/heads/master 70502d502 -> 80c2d72b9
Upload parameters out of order Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/fa0ba8ff Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/fa0ba8ff Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/fa0ba8ff Branch: refs/heads/master Commit: fa0ba8ff81eaf590e4ee20498b1c9b9235df0d68 Parents: bdd3e2d Author: Andrew Reedy <[email protected]> Authored: Tue Jul 22 20:55:19 2014 -0700 Committer: Andrew Reedy <[email protected]> Committed: Tue Jul 22 20:55:19 2014 -0700 ---------------------------------------------------------------------- doc/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/fa0ba8ff/doc/index.md ---------------------------------------------------------------------- diff --git a/doc/index.md b/doc/index.md index 997d273..109105c 100644 --- a/doc/index.md +++ b/doc/index.md @@ -66,8 +66,6 @@ __Parameters__: - __errorCallback__: A callback that executes if an error occurs retrieving the `Metadata`. Invoked with a `FileTransferError` object. _(Function)_ -- __trustAllHosts__: Optional parameter, defaults to `false`. If set to `true`, it accepts all security certificates. This is useful since Android rejects self-signed security certificates. Not recommended for production use. Supported on Android and iOS. _(boolean)_ - - __options__: Optional parameters _(Object)_. Valid keys: - __fileKey__: The name of the form element. Defaults to `file`. (DOMString) - __fileName__: The file name to use when saving the file on the server. Defaults to `image.jpg`. (DOMString) @@ -75,6 +73,8 @@ __Parameters__: - __params__: A set of optional key/value pairs to pass in the HTTP request. (Object) - __chunkedMode__: Whether to upload the data in chunked streaming mode. Defaults to `true`. (Boolean) - __headers__: A map of header name/header values. Use an array to specify more than one value. (Object) + +- __trustAllHosts__: Optional parameter, defaults to `false`. If set to `true`, it accepts all security certificates. This is useful since Android rejects self-signed security certificates. Not recommended for production use. Supported on Android and iOS. _(boolean)_ ### Example
