Summary
Encapsulates an argument passed into an HTTP request sent by
HClient.
Constructors
HArg(string name, string value) |
Constructor for a key-value argument (not a file upload). |
|
HArg(string name, string fileName, string fileContentType, byte[] fileContent) |
Constructor for a file upload. |
Instance properties
byte[] | |
The name of the file to upload. |
string | |
string | |
string | | The name of the argument. |
bool | |
Determines whether this argument is valid. |
bool | | Determines whether this argument can be used in a call to HClient.PostUrlencoded(string, params HArg[]). |
string | |
The value of the argument, or null if this is a file upload. |