Gets or sets a timeout of the HTTP connection.
$au.uploader({
uploadSettings: {
//...other params...
connectionTimeout: 0,
//...other params...
}
})
Get/Set Value at Runtime
$au.uploader('uploaderID').uploadSettings().connectionTimeout(value);
value = $au.uploader('uploaderID').uploadSettings().connectionTimeout();
Type: Number
The HTTP timeout (in milliseconds). If 0, timeout is infinite (i.e. disabled).
Default value is 0.
When timeout expires, the Image Uploader assumes that the connection has been lost and terminates the upload process.