Select your preferred scripting language. All code snippets will be displayed in this language.
class in UnityEngine.Networking
Implements interfaces: IMultipartFormSection
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseA 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.
contentType | Returns the value to use in this section's Content-Type header. |
fileName | Returns a string denoting the desired filename of this section on the destination server. |
sectionData | Returns the raw binary data contained in this section. Will not return null or a zero-length array. |
sectionName | Returns the name of this section, if any. |
MultipartFormDataSection | Raw data section, unnamed and no Content-Type header. |