Class MultiPartFormParam
Multipart form ApiData container used for POST requests.
Inheritance
System.Object
MultiPartFormParam
Namespace: Appearition.Internal
Assembly: Appearition.SDK.dll
Syntax
public class MultiPartFormParam
Constructors
MultiPartFormParam()
Declaration
public MultiPartFormParam()
MultiPartFormParam(String, Object, String, String)
Declaration
public MultiPartFormParam(string newName, object newValue, string newFilename, string newMimeType)
Parameters
Type | Name | Description |
---|---|---|
System.String | newName | |
System.Object | newValue | |
System.String | newFilename | |
System.String | newMimeType |
Fields
fileName
The name of the file to upload. Optional.
Declaration
public string fileName
Field Value
Type | Description |
---|---|
System.String |
mimeType
Defines the MimeType of the objects being uploaded. Refer to ApiConstants for samples.
Declaration
public string mimeType
Field Value
Type | Description |
---|---|
System.String |
name
Name of the entry. Default is "item". Optional
Declaration
public string name
Field Value
Type | Description |
---|---|
System.String |
value
The file's content. For most ApiData, a Stream is expected. Textures/Texture2Ds are also accepted for image types.
Declaration
public object value
Field Value
Type | Description |
---|---|
System.Object |