Update cookies preferences
Promotic

setTimeouts - method of the HttpRequest object

Description:
Specifies timeout settings for resolving the domain name, establishing the connection to the server, sending the data, and receiving the response.
Syntax:
String setTimeouts(Long resolveTimeout, Long connectTimeout, Long sendTimeout, Long receiveTimeout)
Parameters:
resolveTimeout(Long) The value is applied to mapping host names (for example "www.microsoft.com") to IP addresses
connectTimeout(Long) The value is applied to establishing a communication socket with the target server.
The default value is 60 seconds.
sendTimeout(Long) The value applies to sending an individual packet of request data (if any) on the communication socket to the target server.
A large request sent to the server will usually be broken up into multiple packets.
The send timeout applies to sending each packet individually.
The default value is 30 seconds.
receiveTimeout(Long) The value applies to receive a packet of response data from the target server.
Large response will be broken up into multiple packets.
The receive timeout applies to fetching each packet of data off the socket.
The default value is 30 seconds.
See also:
Example:
JavaScriptVBScriptSelect and copy to clipboard

oReq.setTimeouts(5000, 5000, 15000, 15000);
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.