共用方式為


CreateFileFromStreamOptions interface

傳入數據流時,createFile 的額外選項。

Extends

屬性

size

以位元組為單位的數據流所表示的檔案大小。

計算整體要求的 Content-Length 標頭時,管線會使用此專案。

繼承的屬性

lastModified

檔案的上次修改時間為 UNIX 時間戳。 這會預設為目前的日期。

type

檔案的MIME類型。

webkitRelativePath

上傳目錄時,這個檔案的相對路徑。

屬性詳細資料

size

以位元組為單位的數據流所表示的檔案大小。

計算整體要求的 Content-Length 標頭時,管線會使用此專案。

size?: number

屬性值

number

繼承的屬性詳細資料

lastModified

檔案的上次修改時間為 UNIX 時間戳。 這會預設為目前的日期。

lastModified?: number

屬性值

number

繼承自CreateFileOptions.lastModified

type

檔案的MIME類型。

type?: string

屬性值

string

繼承自CreateFileOptions.type

webkitRelativePath

上傳目錄時,這個檔案的相對路徑。

webkitRelativePath?: string

屬性值

string

繼承自CreateFileOptions.webkitRelativePath