Platforms to show: All Mac Windows Linux Cross-Platform
CURLSMultiMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CURL | MBS CURL Plugin | 15.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
- 2 events
- event TransferFinished(CURL as CURLSMBS, result as Integer, RemainingFinishedTransfers as Integer)
- event TransfersFinished
- 13 properties
- property AutoPerform as Boolean New in 23.2
- property ChunkLengthPenaltySize as Int64
- property ContentLengthPenaltySize as Int64
- property Handle as Integer
- property Lasterror as Integer
- property MaxConcurrentStreams as Integer
- property MaxConnects as Integer
- property MaxHostConnections as Integer
- property MaxPipelineLength as Integer
- property MaxTotalConnections as Integer
- property Pipelining as Integer
- property RunningTransfers as Integer
- property Tag as Variant New in 23.3
- 4 methods
- method AddCURL(curl as CURLSMBS, handler as CURLSTransferFinishedMBS = nil) as boolean
- method CURLs as CURLSMBS()
- method Perform
- method RemoveCURL(CURL as CURLSMBS) as boolean
- 2 shared methods
- shared method ErrorString(ErrorCode as Integer) as String
- shared method SharedInstance as CURLSMultiMBS New in 23.2
- delegate CURLSTransferFinishedMBS(curl as CURLSMBS, ErrorCode as Integer) New in 23.2
- 15 constants
Error Codes
Constant | Value | Description |
---|---|---|
kErrorAddedAlready | 7 |
An easy handle already added to a multi handle was attempted to get added - again. |
kErrorBadEadyHandle | 2 |
An easy handle was not good/valid. |
kErrorBadFunctionArgument | 10 |
A function was called with a bad parameter. |
kErrorBadHandle | 1 |
The passed-in handle is not a valid CURLM handle. |
kErrorBadSocket | 5 |
The passed in socket argument did not match. |
kErrorCallPerform | -1 |
Please call Perform soon to do some tasks. |
kErrorInternalError | 4 |
This is a libCURL bug. |
kErrorOK | 0 |
Everything OK. |
kErrorOutOfMemory | 3 |
Running low on memory. |
kErrorRecursiveAPICall | 8 |
An api function was called from inside an event. |
kErrorUnknownOption | 6 |
Tried to set unsupported option. |
kErrorWakeupFailure | 9 |
Wakeup is unavailable or failed. |
Pipeling options
Constant | Value | Description |
---|---|---|
kPipeHTTP1 | 1 |
Pipe with HTTP/1.1. |
kPipeMultiPlex | 2 |
Pipe with multiplex. |
kPipeNothing | 0 |
No piping. |
This class has no sub classes.
Some examples using this class:
- /CURL/Multi Transfer
- /CURL/Multi Transfer automatic
- /CURL/Receive Email/CURLS email client
- /CURL/Send Email/MassEmailer
- /CURL/Send Email/Send Email in Background async
- /CURL/SFTP/CURLS sftp batch download
- /CURL/SFTP/CURLS sftp batch upload
Blog Entries
- News from the MBS Xojo Plugins Version 23.2
- MonkeyBread Software Releases the MBS Xojo Plugins in version 23.2
- Easier multi transfer for our Xojo CURL Plugin
- MBS Xojo Plugins, version 23.2pr2
- MBS Xojo Plugins, version 23.0pr6
- MBS Xojo Plugins, version 21.1pr1
- MBS Xojo Plugins, version 19.3pr5
- MBS Xojo Plugins, version 18.2pr3
- Batch Emailer Application for Xojo as a sample project
- MonkeyBread Software Releases the MBS Xojo / Real Studio plug-ins in version 15.0
The items on this page are in the following plugins: MBS CURL Plugin.
CURLSMissingFunctionExceptionMBS - CURLSNotInitializedExceptionMBS
