C# Class UnityEngine.WWWForm

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

Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

Add binary data to the form.

public AddBinaryData ( string fieldName, byte contents, [ fileName, [ mimeType ) : void
fieldName string
contents byte
fileName [
mimeType [
Résultat void

AddField() public méthode

Adds a simple field to the form.

public AddField ( string fieldName, int i ) : void
fieldName string
i int
Résultat void

AddField() public méthode

Add a simple field to the form.

public AddField ( string fieldName, string value, [ e ) : void
fieldName string
value string
e [
Résultat void

WWWForm() public méthode

Creates an empty WWWForm object.

public WWWForm ( ) : System
Résultat System