com.HTTPRequest.setConnectionTimeOut

Defines the timeout for the establishment of the connection.

Syntax

setConnectionTimeOut(
   timeout INTEGER )
  1. timeout is the number of seconds.

Usage

The setConnectionTimeOut() method sets the time value in seconds to wait for the establishment of the connection, before a break.

The value of -1 means infinite wait.