com.HTTPRequest.setTimeOut

Defines the timeout for a reading or writing operation.

Syntax

setTimeOut(
   timeout INTEGER )
  1. timeout specifies the number of seconds.

Usage

The setTimeOut() method sets the time value in seconds to wait for a reading or writing operation, before a break.

The value of -1 means infinite wait.