libcURL.Opts.OptionInfo.Value - charonn0/RB-libcURL GitHub Wiki

libcURL.Opts.OptionInfo.Value

Method Signatures

 Function Value(Session As libcURL.EasyHandle) As Variant
 Sub Value(Session As libcURL.EasyHandle, Assigns NewValue As Variant)

Parameters

Value(libcURL.EasyHandle)

Name Type Comment
Session EasyHandle The EasyHandle whose option you want to read.

Value(libcURL.EasyHandle, Assigns Variant)

Name Type Comment
Session EasyHandle The EasyHandle whose option you want to write.
NewValue Variant The value to set for this option on the EasyHandle.

Return value

The current value for the option if it has been set, or Nil if not set.

Remarks

This method is useful for metaprogramming with libcURL.