C# Class UnityHTTP.FormDataStream

Inheritance: Stream
Afficher le fichier Open project: andyburke/UnityHTTP Class Usage Examples

Méthodes publiques

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

public AddPart ( FormPart part ) : void
part FormPart
Résultat void

AddPart() public méthode

public AddPart ( string fieldName, string mimeType, Stream contents, string fileName = null ) : void
fieldName string
mimeType string
contents Stream
fileName string
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

FormDataStream() public méthode

public FormDataStream ( string boundary ) : System
boundary string
Résultat System

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

Seek() public méthode

public Seek ( long amount, SeekOrigin origin ) : long
amount long
origin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long len ) : void
len long
Résultat void

Write() public méthode

public Write ( byte source, int offset, int count ) : void
source byte
offset int
count int
Résultat void