-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.MultiHandle.SetOption
Andrew Lambert edited this page Jan 16, 2023
·
10 revisions
libcURL.MultiHandle.SetOption
Function SetOption(OptionNumber As Integer, NewValue As Variant) As Boolean| Name | Type | Comment |
|---|---|---|
| OptionNumber | Integer | The cURL_multi option number to be updated |
| NewValue | Variant | The new value for the option number |
Returns True if the operation succeeded. Check MultiHandle.LastError for the error number if this method returns False.
Calls curl_multi_setopt.
This method accepts a Variant as the NewValue, but only Booleans, Integers, Ptrs, Strings and MemoryBlocks should be used.
Setting an option value to an unsupported type will raise a TypeMismatchException.
Setting an option that does not allow NULL to Nil will raise a NilObjectException.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.