Combu  3.2.2
Unity API Documentation
Public Member Functions | Static Public Member Functions | List of all members
Combu.CombuForm Class Reference

Public Member Functions

void AddField (string fieldName, string value)
 Adds a string parameter to the form. More...
 
void AddBinaryData (string fieldName, byte[] content)
 Adds a binary parameter to the form. More...
 
string GetField (string fieldName)
 Gets a string parameter from the form. More...
 
byte[] GetBinaryField (string fieldName)
 Gets a binary parameter from the form. More...
 
WWWForm GetForm ()
 Gets the WWWForm representation to pass to the web services with encrypted data. More...
 

Static Public Member Functions

static implicit operator WWWForm (CombuForm me)
 

Member Function Documentation

◆ AddBinaryData()

void Combu.CombuForm.AddBinaryData ( string  fieldName,
byte[]  content 
)

Adds a binary parameter to the form.

Parameters
fieldNameField name.
contentContent.

◆ AddField()

void Combu.CombuForm.AddField ( string  fieldName,
string  value 
)

Adds a string parameter to the form.

Parameters
fieldNameField name.
valueValue.

◆ GetBinaryField()

byte [] Combu.CombuForm.GetBinaryField ( string  fieldName)

Gets a binary parameter from the form.

Returns
The binary field.
Parameters
fieldNameField name.

◆ GetField()

string Combu.CombuForm.GetField ( string  fieldName)

Gets a string parameter from the form.

Returns
The field.
Parameters
fieldNameField name.

◆ GetForm()

WWWForm Combu.CombuForm.GetForm ( )

Gets the WWWForm representation to pass to the web services with encrypted data.

Returns
The form.