FormDataOptions
Properties
buffer?
optional
buffer:boolean
Whether to buffer the file into memory when the second argument is a stream or a file path. It is not really recommended, but helpful when you need to know content-length.
Default
Source
filename?
optional
filename:string
File name, e.g. ‘my-baby-dog.jpg’
Source
type?
optional
type:string
File type, e.g. ‘image/jpeg’