MCPcopy Create free account
hub / github.com/socketio/socket.io / Transport

Function Transport

client-dist/socket.io.js:868–878  ·  view source on GitHub ↗

* Transport abstract constructor. * * @param {Object} opts - options * @protected

(opts)

Source from the content-addressed store, hash-verified

866 * @protected
867 */
868 function Transport(opts) {
869 var _this2;
870 _classCallCheck(this, Transport);
871 _this2 = _super2.call(this);
872 _this2.writable = false;
873 installTimerFunctions(_assertThisInitialized(_this2), opts);
874 _this2.opts = opts;
875 _this2.query = opts.query;
876 _this2.socket = opts.socket;
877 return _this2;
878 }
879 /**
880 * Emits an error.
881 *

Callers

nothing calls this directly

Calls 3

_classCallCheckFunction · 0.85
installTimerFunctionsFunction · 0.85
_assertThisInitializedFunction · 0.85

Tested by

no test coverage detected