libcURL.cURLSession.SetOption - charonn0/RB-libcURL GitHub Wiki
libcURL.cURLSession.SetOption
Method Signature
Function SetOption(OptionNumber As Integer, NewValue As Variant) As Boolean
Parameters
| Name | Type | Comment |
|---|---|---|
| OptionNumber | Integer | A cURL option number |
| NewValue | Variant | 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 cURLSession.LastError.
Remarks
Call this method with a curl easy option number and a value that is acceptable for that option.