Skip to content

libcURL.cURLSession.SetOption

Andrew Lambert edited this page Nov 26, 2022 · 2 revisions

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.

See also

Clone this wiki locally