libcURL.Opts.OptionIterator - charonn0/RB-libcURL GitHub Wiki
libcURL.Opts.OptionIterator
Class Declaration
Protected Class OptionIterator
Remarks
This class iterates over a list of OptionInfo objects, either the list of all known options or the list of options that have been set for a given EasyHandle.
Methods
Properties
Example
This example collects all the options that have been set for an instance of EasyHandle into an array of OptionInfo objects:
Dim c As New cURLClient
Dim iter As New libcURL.Opts.OptionIterator(c.EasyHandle)
Dim opts() As libcURL.Opts.OptionInfo
Do
opts.Append(iter.CurrentOption)
Loop Until Not iter.MoveNext()
See also
- OptionInfo class