Skip to content

libcURL.ShareHandle.SetOption

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

libcURL.ShareHandle.SetOption

Method Signature

 Function SetOption(OptionNumber As Integer, NewValue As Variant) As Boolean

Parameters

Name Type Comment
OptionNumber Integer The cURL share option number to be updated
NewValue Variant The new value for the cURL share option number

Return value

Returns True if the operation succeeded. Check ShareHandle.LastError for the error number if this method returns False.

Remarks

Calls curl_share_setopt.

See also

Clone this wiki locally