Returns an XMLHttpRequest object or an ActiveXObject for fallback. This module provides api compatibility to the node.js module of the same name.
Options change the behavior during instantiation of the new xml request instance.
- xdomain
The request will be cross domain so only return a working request instance if cross domain is supported