C# Class UnityHTTP.FormDataStream

Inheritance: Stream
Mostra file Open project: andyburke/UnityHTTP Class Usage Examples

Public Methods

Method Description
AddPart ( FormPart part ) : void
AddPart ( string fieldName, string mimeType, Stream contents, string fileName = null ) : void
Close ( ) : void
Flush ( ) : void
FormDataStream ( string boundary ) : System
Read ( byte buffer, int offset, int count ) : int
Seek ( long amount, SeekOrigin origin ) : long
SetLength ( long len ) : void
Write ( byte source, int offset, int count ) : void

Method Details

AddPart() public method

public AddPart ( FormPart part ) : void
part FormPart
return void

AddPart() public method

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

Close() public method

public Close ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

FormDataStream() public method

public FormDataStream ( string boundary ) : System
boundary string
return System

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Seek() public method

public Seek ( long amount, SeekOrigin origin ) : long
amount long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long len ) : void
len long
return void

Write() public method

public Write ( byte source, int offset, int count ) : void
source byte
offset int
count int
return void