source: trip-planner-front/node_modules/sockjs-client/lib/transport/sender/xhr-local.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 352 bytes
Line 
1'use strict';
2
3var inherits = require('inherits')
4 , XhrDriver = require('../driver/xhr')
5 ;
6
7function XHRLocalObject(method, url, payload /*, opts */) {
8 XhrDriver.call(this, method, url, payload, {
9 noCredentials: true
10 });
11}
12
13inherits(XHRLocalObject, XhrDriver);
14
15XHRLocalObject.enabled = XhrDriver.enabled;
16
17module.exports = XHRLocalObject;
Note: See TracBrowser for help on using the repository browser.