SetOptions Method
The SetOptions method sets multiple transfer-related options before a Perform() method invocation.
This method has the following syntax:
integer = UrlConnection.SetOptions(options = JsonObject)
This method has the following parameter:
options
Specifies the options to be set defined by a JsonObject.
The name of any of the JsonObject’s members must be a string that is one of the constant names listed in
UrlConnection "option" Settings, but without the “CURLOPT_” prefix (for instance, the member name is “URL” for the CURLOPT_URL option).
The type of the member’s value depends on the option to be set.
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: 12/20/2023