對象HttpUploadData
包含multipart 的一個條目數據
繼承關係
成員屬性
fileName
String, 包含本條目數據的文件名
1readonly String HttpUploadData.fileName;
contentType
String, 包含本條目數據的類型
1readonly String HttpUploadData.contentType;
contentTransferEncoding
String, 包含本條目數據的傳輸編碼類型
1readonly String HttpUploadData.contentTransferEncoding;
body
SeekableStream, 包含本條目數據部分的流對象
1readonly SeekableStream HttpUploadData.body;
成員函數
toString
返回對象的字符串表示,一般返回"[Native Object]",對象可以根據自己的特性重新實現
1String HttpUploadData.toString();
返回結果:
- String, 返回對象的字符串表示
toJSON
返回對象的JSON 格式表示,一般返回對象定義的可讀屬性集合
1Value HttpUploadData.toJSON(String key = "");
調用參數:
- key: String, 未使用
返回結果:
- Value, 返回包含可JSON 序列化的值