API Docs for: 1.5.0
Show:

XmlHttpRequestConnection Class

Creates an instance of XmlHttpRequestConnection object This connection class handles low-level implementation of XHR connection for generic (non-Microsoft) browsers

Constructor

XmlHttpRequestConnection

()

Item Index

Methods

Methods

execute

(
  • request
  • [requestEventHandlers]
  • callback
)

Basic request implemented via XHR technique

Parameters:

  • request Request

    structure containing all needed params and data

  • [requestEventHandlers] Object optional

    a set of callbacks to apply on a specific XHR event like onload, onerror, onprogress, etc.

  • callback Function

    function, which will be executed on request success

isCompatible

() Boolean static

Connection checks itself for compatibility with running environment

Returns:

Boolean:

whether the connection is compatible with current environment