CreateFileFromStreamOptions interface

Extra options for createFile when a stream is being passed in.

Extends

Properties

size

Size of the file represented by the stream in bytes.

This will be used by the pipeline when calculating the Content-Length header for the overall request.

Inherited Properties

lastModified

Last modified time of the file as a UNIX timestamp. This will default to the current date.

type

The MIME type of the file.

webkitRelativePath

relative path of this file when uploading a directory.

Property Details

size

Size of the file represented by the stream in bytes.

This will be used by the pipeline when calculating the Content-Length header for the overall request.

size?: number

Property Value

number

Inherited Property Details

lastModified

Last modified time of the file as a UNIX timestamp. This will default to the current date.

lastModified?: number

Property Value

number

Inherited From CreateFileOptions.lastModified

type

The MIME type of the file.

type?: string

Property Value

string

Inherited From CreateFileOptions.type

webkitRelativePath

relative path of this file when uploading a directory.

webkitRelativePath?: string

Property Value

string

Inherited From CreateFileOptions.webkitRelativePath