* Request constructor * * @param {Object} options * @package
(uri, opts)
| 1336 | * @package |
| 1337 | */ |
| 1338 | function Request(uri, opts) { |
| 1339 | var _this8; |
| 1340 | _classCallCheck(this, Request); |
| 1341 | _this8 = _super2.call(this); |
| 1342 | installTimerFunctions(_assertThisInitialized(_this8), opts); |
| 1343 | _this8.opts = opts; |
| 1344 | _this8.method = opts.method || "GET"; |
| 1345 | _this8.uri = uri; |
| 1346 | _this8.data = undefined !== opts.data ? opts.data : null; |
| 1347 | _this8.create(); |
| 1348 | return _this8; |
| 1349 | } |
| 1350 | /** |
| 1351 | * Creates the XHR object and sends the request. |
| 1352 | * |
nothing calls this directly
no test coverage detected