Version: 2017.2

MultipartFormDataSection

class in UnityEngine.Networking


인터페이스 구현:IMultipartFormSection

매뉴얼로 전환

설명

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.

변수

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.

생성자

MultipartFormDataSectionRaw data section, unnamed and no Content-Type header.