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:
committed by
Dmitriy Shekhovtsov
parent
e068511917
commit
22307d266f
@@ -20,10 +20,11 @@ import {FileSelectDirective, FileDropDirective, FileUploader} from 'ng2-file-upl
|
||||
|
||||
- `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.
|
||||
|
||||
## FileDrop API
|
||||
|
||||
|
||||
Reference in New Issue
Block a user