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
The class for multiple CURL transfers running in parallel.

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:

Blog Entries

Xojo Developer Magazine

Release notes

  • Version 24.3
  • Version 23.4
  • Version 23.3
  • Version 23.2
    • Added new methods to CURLSMultiMBS to make asynchronous transfers easier.
  • Version 23.0
    • Fixed an issue for CURLSMBS class, where the LastError was not updated by Perform called on CURLSMultiMBS class.
  • Version 21.1
    • Changed MaxTotalConnections in CURLSMultiMBS class to 4 as default. Avoids excessive connection counts unless you change it.
  • Version 19.3
    • Changed CURLSMultiMBS.AddCURL function to apply same default settings if needed as normal Perform in CURLSMBS.
  • Version 18.2
    • Changed CURLSMultiMBS and other variants of it to have Pipelining be an integer property and added constants for it.

The items on this page are in the following plugins: MBS CURL Plugin.

CURLSMissingFunctionExceptionMBS   -   CURLSNotInitializedExceptionMBS

The biggest plugin in space...