feat(multipart): Create disableMultipart option in FileUploader (#224)

* Create disableMultipart option in FileUploader

* Add basic docs
This commit was merged in pull request #224.
This commit is contained in:
Tim Donohue
2016-06-21 10:48:12 -04:00
committed by Dmitriy Shekhovtsov
parent e068511917
commit 22307d266f
3 changed files with 17 additions and 7 deletions

View File

@@ -37,10 +37,11 @@ Follow me [![twitter](https://img.shields.io/twitter/follow/valorkin.svg?style=s
- `uploader` - (`FileUploader`) - uploader object. See using in [demo](https://github.com/valor-software/ng2-file-upload/blob/master/demo/components/file-upload/simple-demo.ts)
Parameters that supported by this object:
Parameters supported by this object:
1. `url` - URL of File Uploader's route
2. `authToken` - Auth token that will be applied as 'Authorization' header during file send.
3. `disableMultipart` - If 'true', disable using a multipart form for file upload and instead stream the file. Some APIs (e.g. Amazon S3) may expect the file to be streamed rather than sent via a form. Defaults to false.
### Events