setSendTimeout¶
Description
Sets the send timeout period in milliseconds.
If this value is not explicitly set, the default timeout is 10000 ms.
When a value outside the valid range is specified, it is automatically corrected as follows:
- Values less than 100 are set to 100 ms.
- Values greater than 300000 are set to 300000 ms.
Syntax
public void setSendTimeout(int timeout)
Parameter
timeout
An integer representing the send timeout period (milliseconds).