Provides an interface for building multipart/form-encoded message bodies. Used by Http\Client to upload POST/PUT data and files.
Inherited | Abstract | Final | Static | Datatype | Header |
---|---|---|---|---|---|
string | string boundary() | ||||
string | string contentType() | ||||
void | void add( /* FormDataPart| */ string partName, Json partValue = null) | ||||
FormDataPart | FormDataPart newPart(string aName, string valueToAdd) | ||||
void | void addRecursive(string nameToUse, Json valueToAdd) | ||||
size_t | size_t count() | ||||
void | void addMany(Json[string] data) | ||||
bool | bool isMultipart() | ||||
bool | bool hasFile() | ||||
string | string toString() | ||||
DFormDataPart | DFormDataPart addFile(string nameToUse, Json aValue) |