The HTTPRequest class / com.HTTPRequest methods |
Defines the timeout for a reading or writing operation.
The setTimeOut() method defines a delay in seconds, to wait for a HTTP request read or write operation. If the operation is not terminated after the timeout, it returns immediately with an error.
Use the value of -1 to define an infinite timeout.
In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).