-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.EasyHandle.GetInfo
libcURL.EasyHandle.GetInfo
Function GetInfo(InfoType As Integer) As Variant
Function GetInfo(InfoType As Integer, Buffer As MemoryBlock) As Boolean
Name | Type | Comment |
---|---|---|
InfoType | Integer | The type of information being requested. |
Name | Type | Comment |
---|---|---|
InfoType | Integer | The type of information being requested. |
Buffer | MemoryBlock | A buffer which is large enough to contain the information. |
Returns a Variant suitable to contain the InfoType
being requested. If the InfoType
is not among the values known by this function, a TypeMismatchException
will be raised. Nil
is a legal return value; its meaning varies according to the InfoType
requested. Check LastError if the return value is unexpectedly Nil
.
If the operation succeeded then this function returns True
and the requested information is copied into the Buffer
. Otherwise this function returns False
and the error code is stored in LastError.
This method returns various data about the most recently completed connection (successful or not.) As such, it is not useful to call this method before the first connection attempt.
- EasyHandle.SetOption
- curl_easy_getinfo in the libcURL documentation.
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.