Appearance
FormDataCollection Class
Definition
Represents a flexible form data collection that can store string values or file uploads. Used to build form-based payloads for HTTP requests, such as application/x-www-form-urlencoded or multipart/form-data.
- Namespace:
JASE.Network - Assembly:
JASE.Network.dll
Constructors
| Name | Description |
|---|---|
FormDataCollection() |
Methods
| Name | Description |
|---|---|
void Add(string key, FilePost file) | Adds a file to the collection under the specified key. Overwrites any existing value for that key. |
void Add(string key, string value) | Adds a string value to the collection under the specified key. If the key already exists, the value is appended to the existing list. |