-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.EasyHandle.SetOptionPtr
Andrew Lambert edited this page Jun 7, 2015
·
14 revisions
#libcURL.EasyHandle.SetOptionPtr
##Method Signature
Function SetOptionPtr(OptionNumber As Integer, NewValue As Ptr) As Boolean##Parameters
| Name | Type | Comment |
|---|---|---|
| OptionNumber | Integer | A cURL option number |
| NewValue | Ptr (see notes) | The new value for the option |
##Return value
If the option was set this method returns True. If it returns False the option was not set and the curl error number is stored in EasyHandle.LastError.
##Notes
Call this method with a curl option number and a Ptr to a representation of the new value for that option. The Ptr is passed verbatim to libcURL.
##See also
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-26 Andrew Lambert, offered under the CC BY-SA 3.0 License.