Object built-in object

Object HttpUploadData

Contains one item data of multipart

Inheritance

Member attributes

fileName

String, the name of the file containing the data of this entry

1
readonly String HttpUploadData.fileName;

contentType

String, contains the type of data for this entry

1
readonly String HttpUploadData.contentType;

contentTransferEncoding

String, the type of transfer encoding containing the data of this entry

1
readonly String HttpUploadData.contentTransferEncoding;

body

SeekableStream , the stream object that contains the data part of this entry

1
readonly SeekableStream HttpUploadData.body;

Member function

toString

Returns the string representation of the object, generally returns "[Native Object]", the object can be re-implemented according to its own characteristics

1
String HttpUploadData.toString();

Return result:

  • String , returns the string representation of the object

toJSON

Returns the JSON format representation of the object, generally returns a collection of readable attributes defined by the object

1
Value HttpUploadData.toJSON(String key = "");

Call parameters:

  • key : String, unused

Return result:

  • Value , returns a value containing JSON serializable