SetOption Method
The SetOption method sets a transfer related option before a Perform() method invocation.
This method has the following syntax:
integer = UrlConnection.SetOption(option = integer, value = expression)
This method has the following parameters:
option
value
Specifies the value for the option to be set. The type of the expression 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.