Interface FileUploadOptions

Optional parameters for upload method.

Index

Properties

Properties

optional public chunkedMode?: boolean

Whether to upload the data in chunked streaming mode. Defaults to true.

optional public fileKey?: string

The name of the form element. Defaults to file.

optional public fileName?: string

The file name to use when saving the file on the server. Defaults to image.jpg.

optional public headers?: Array<Object>

A map of header name/header values. Use an array to specify more than one value.

optional public mimeType?: string

The mime type of the data to upload. Defaults to image/jpeg.

optional public params?: Object

A set of optional key/value pairs to pass in the HTTP request.