Platforms to show: All Mac Windows Linux Cross-Platform
CURLNMimePartMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CURL | MBS CURL Plugin | 18.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
You can provide data via file path, folderitem, data in memoryblock or string.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 10 properties
- property DataMemory as Memoryblock
- property DataString as String
- property Encoding as String
- property File as FolderItem
- property FileName as String
- property FilePath as String
- property Lasterror as Integer
- property MimeType as String
- property Name as String
- property Parent as Variant
- 3 methods
- method Constructor Private
- method Headers as String()
- method SetHeaders(headers() as String)
- 14 constants
Encodings
Constant | Value | Description |
---|---|---|
kEncoding7bit | "7bit" |
7bit |
kEncoding8bit | "8bit" |
8bit |
kEncodingBase64 | "base64" |
Base64 |
kEncodingBinary | "binary" |
Binary mode |
kEncodingNone | "" |
No mode, so data is passed through and header has no encoding defined. |
kEncodingQuotedPrintable | "quoted-printable" |
Quoted printable |
Mime Types
Constant | Value | Description |
---|---|---|
kMimeTypeGIF | "image/gif" |
GIF |
kMimeTypeHTML | "text/html" |
HTML |
kMimeTypeJPEG | "image/jpeg" |
JPEG |
kMimeTypePDF | "application/pdf" |
PDF |
kMimeTypePNG | "image/png" |
PNG |
kMimeTypeSVG | "image/svg+xml" |
SVG |
kMimeTypeText | "text/plain" |
Text |
kMimeTypeXML | "application/xml" |
XML |
This class has no sub classes.
Some methods using this class:
- CURLNMBS.AddMimePart as CURLNMimePartMBS
The items on this page are in the following plugins: MBS CURL Plugin.
CURLNMBS - CURLNMissingFunctionExceptionMBS