MultipartFormDataSection

class in UnityEngine.Networking


Implements interfaces:IMultipartFormSection

Switch to Manual

Description

包含通用型非文件数据的表单节的 helper 对象。

This helper object is used similarly to the WWWForm method WWWForm.AddData. It is used to define non-file form sections.

Variables

contentType返回要在此节的 Content-Type 标头中使用的值。
fileName返回表示目标服务器上此节所需文件名的字符串。
sectionData返回此节中包含的原始二进制数据。不得返回 null 或零长度数组。
sectionName返回此节的名称(如果有)。

Constructors

MultipartFormDataSection原始数据节,未命名且没有 Content-Type 标头。