Constructor XHR
XHR constructor function.
-
Syntax
XHR new XHR([ Number timeout , [ Number retries ]])
Creates and returns a new XHR object. -
Parameters
Number timeout(Optional)- The timeout for requests in milleseconds
Number retries(Optional)- Number of retries on timeout before aborting request.
- Return value A new XHR object
-
Download
Source
Unless otherwise noted all code in the JSLab Standard Library is licensed as GPLv3. See http://www.gnu.org/licenses/gpl.html for the entire license.
