Was this helpful?
GetInfo Method
The GetInfo method gets transfer-related information after a Perform() method invocation.
The method should not be called unless the Perform() method has been invoked and finished.
This method has the following syntax:
integer = UrlConnection.GetInfo(info = integer, value = BYREF(variable))
This method has the following parameters:
info
Specifies the requested information. It must be one of the CURLINFO_* constants listed in UrlConnection "info" Settings.
value
Specifies the target variable for the information requested (should be specified BYREF).
The type of the variable depends on the information requested.
If the method is successful, it returns ER_OK; otherwise, it returns ER_FAIL. Descriptions of system constant values and their numeric equivalents are listed in Error Codes.
Last modified date: 06/25/2024