new FormDataPart()
Methods
filename() → {string}
Returns:
the filename when this part is a file upload otherwise
null
- Type
- string
isAttribute() → {boolean}
Returns:
true when this part is an attribute
- Type
- boolean
isFileUpload() → {boolean}
Returns:
true when this part is a file upload
- Type
- boolean
isText() → {boolean}
Returns:
whether the file upload is text or binary when this part is a file upload otherwise
null
- Type
- boolean
mediaType() → {string}
Returns:
the media type when this part is a file upload otherwise
null
- Type
- string
name() → {string}
Returns:
the name
- Type
- string
pathname() → {string}
Returns:
the pathname when this part is a file upload otherwise
null
- Type
- string
value() → {string}
Returns:
the value when the part for a form attribute otherwise
null
- Type
- string