Platforms to show: All Mac Windows Linux Cross-Platform
CURLSMimePartMBS class
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| class | CURL | MBS CURL Plugin | 18.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
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.
Blog Entries
- MonkeyBread Software Releases the MBS Xojo Plugins in version 18.2
- MBS Xojo Plugins, version 18.2pr4
Videos
- Presentation from Munich conference about MBS Plugins.
- Presentation from Xojo Developer Conference 2019 in Miami.
Release notes
- Version 18.2
- Added CURLSMimePartMBS class.
Some methods using this class:
- CURLSMBS.AddMimePart as CURLSMimePartMBS
Some examples using this class:
Some related classes:
The items on this page are in the following plugins: MBS CURL Plugin.
CURLSMBS - CURLSMissingFunctionExceptionMBS