Quantcast
Channel: Adobe Community : Popular Discussions - Archived Discussions
Viewing all articles
Browse latest Browse all 21156

How works URLRequestDefaults.idleTimeout

$
0
0

Hi!

 

From documentation

The idle timeout is the amount of time (in milliseconds) that the client waits for a response from the server, after the connection is established, before abandoning the request.

 

This defines the default idle timeout used by the URLRequest or HTMLLoader object. Setting the idleTimeoutproperty in a URLRequest object or an HTMLLoader object overrides this default setting.

 

When this property is set to 0 (the default), the runtime uses the default idle timeout value defined by the operating system. The default idle timeout value varies between operating systems (such as Mac OS, Linux, or Windows) and between operating system versions.

 

How correctly it works?

1. AIR waits idleTimeout milliseconds for first bytes server response and reset timeout?

Or

2. AIR waits idleTimeout milliseconds for whole bytes server response?


Viewing all articles
Browse latest Browse all 21156


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>