MultipartFormDataSection

class in UnityEngine.Networking


Implements interfaces:IMultipartFormSection

Switch to Manual

Description

A helper object for form sections containing generic, non-file data.

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

Variables

contentTypeReturns the value to use in this section's Content-Type header.
fileNameReturns a string denoting the desired filename of this section on the destination server.
sectionDataReturns the raw binary data contained in this section. Will not return null or a zero-length array.
sectionNameReturns the name of this section, if any.

Constructors

MultipartFormDataSectionRaw data section, unnamed and no Content-Type header.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961