C# Class UnityEngine.WWWForm

Helper class to generate form data to post to web servers using the WWW class.

ファイルを表示 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
AddBinaryData ( string fieldName, byte contents, [ fileName, [ mimeType ) : void

Add binary data to the form.

AddField ( string fieldName, int i ) : void

Adds a simple field to the form.

AddField ( string fieldName, string value, [ e ) : void

Add a simple field to the form.

WWWForm ( ) : System

Creates an empty WWWForm object.

Private Methods

Method Description
AddBinaryData ( string fieldName, byte contents ) : void
AddBinaryData ( string fieldName, byte contents, string fileName ) : void
AddField ( string fieldName, string value ) : void

Method Details

AddBinaryData() public method

Add binary data to the form.

public AddBinaryData ( string fieldName, byte contents, [ fileName, [ mimeType ) : void
fieldName string
contents byte
fileName [
mimeType [
return void

AddField() public method

Adds a simple field to the form.

public AddField ( string fieldName, int i ) : void
fieldName string
i int
return void

AddField() public method

Add a simple field to the form.

public AddField ( string fieldName, string value, [ e ) : void
fieldName string
value string
e [
return void

WWWForm() public method

Creates an empty WWWForm object.

public WWWForm ( ) : System
return System