-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.EasyHandle.GetInfo
#libcURL.EasyHandle.GetInfo
##Method Signatures
Function GetInfo(InfoType As Integer) As Variant
Function GetInfo(InfoType As Integer, Buffer As MemoryBlock) As Boolean##Parameters
####GetInfo(Integer)
| Name | Type | Comment |
|---|---|---|
| InfoType | Integer | The type of information being requested. |
####GetInfo(Integer, MemoryBlock)
| Name | Type | Comment |
|---|---|---|
| InfoType | Integer | The type of information being requested. |
| Buffer | MemoryBlock | A buffer which is large enough to contain the information. |
##Return value
####GetInfo(Integer)
Returns a Variant suitable to contain the InfoType 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.
####GetInfo(Integer, MemoryBlock)
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.
##Notes Calls curl_easy_getinfo. 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.
##See also
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-26 Andrew Lambert, offered under the CC BY-SA 3.0 License.