C# Class Nohal.Redmine.MultipartData

Helper class for constructing the multipart/form-data POST requests
Afficher le fichier Open project: bdrhoa/redmine-client Class Usage Examples

Méthodes publiques

Méthode Description
AddFile ( string name, string fileName ) : void

Adds a file to the post request

AddValue ( string name, string value ) : void

Adds new form field name/value pair

Private Methods

Méthode Description
Finish ( ) : void

Finishes the creation of the request

Method Details

AddFile() public méthode

Adds a file to the post request
public AddFile ( string name, string fileName ) : void
name string The name of the field
fileName string The file path
Résultat void

AddValue() public méthode

Adds new form field name/value pair
public AddValue ( string name, string value ) : void
name string The name of the field
value string Tha value of the field
Résultat void