-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.Info.InfoTypeIterator
Andrew Lambert edited this page Jan 31, 2024
·
3 revisions
Protected Class InfoTypeIterator
This class iterates over a list of all known types of InfoType.
This example performs a request and then collects all the available metadata into a Dictionary:
Dim curl As New cURLClient
If curl.Get("https://www.example.com/") Then
Dim iter As New libcURL.Info.InfoTypeIterator
Dim info As New Dictionary
Do
Dim name As String = iter.CurrentInfoType.Name
Dim value As Variant = curl.GetInfo(iter.CurrentInfoType)
info.Value(name) = value
Loop Until Not iter.MoveNext()
End If
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.