C# Class UnityHTTP.StreamedWWWForm

显示文件 Open project: andyburke/UnityHTTP Class Usage Examples

Public Properties

Property Type Description
stream FormDataStream

Public Methods

Method Description
AddBinaryData ( string fieldName, Stream contents = null, string mimeType = null ) : void
AddBinaryData ( string fieldName, byte contents = null, string mimeType = null ) : void
AddField ( string fieldName, string fieldValue ) : void
AddFile ( string fieldName, string path, string mimeType = null ) : void
StreamedWWWForm ( ) : System

Method Details

AddBinaryData() public method

public AddBinaryData ( string fieldName, Stream contents = null, string mimeType = null ) : void
fieldName string
contents Stream
mimeType string
return void

AddBinaryData() public method

public AddBinaryData ( string fieldName, byte contents = null, string mimeType = null ) : void
fieldName string
contents byte
mimeType string
return void

AddField() public method

public AddField ( string fieldName, string fieldValue ) : void
fieldName string
fieldValue string
return void

AddFile() public method

public AddFile ( string fieldName, string path, string mimeType = null ) : void
fieldName string
path string
mimeType string
return void

StreamedWWWForm() public method

public StreamedWWWForm ( ) : System
return System

Property Details

stream public_oe property

public FormDataStream stream
return FormDataStream