How to use the xhr.getAPI function in xhr

To help you get started, we’ve selected a few xhr examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pusher / pusher-js / src / runtimes / isomorphic / runtime.ts View on Github external
createXHR() : Ajax {
    var Constructor = XHR.getAPI();
    return new Constructor();
  },