Skip to content

libcURL.EasyHandle.GetOption

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

libcURL.EasyHandle.GetOption

Method Signature

 Function GetOption(OptionNumber As Integer, DefaultValue As Variant = Nil) As Variant

Parameters

Name Type Comment
OptionNumber Integer The libcURL option value to look up.
DefaultValue Variant Optional. If the option has not been set, this value is returned.

Return value

Returns a Variant suitable to contain the option value requested.

Remarks

This method complements the SetOption method. You can use this method to retrieve any previously-set option value. If the OptionNumber has not been set then the DefaultValue parameter is returned.

This method cannot retrieve option values which were set using the SetOptionPtr method.

See also

Clone this wiki locally