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

Function WS

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

* WebSocket transport constructor. * * @param {Object} opts - connection options * @protected

(opts)

Source from the content-addressed store, hash-verified

1533 * @protected
1534 */
1535 function WS(opts) {
1536 var _this;
1537 _classCallCheck(this, WS);
1538 _this = _super.call(this, opts);
1539 _this.supportsBinary = !opts.forceBase64;
1540 return _this;
1541 }
1542 _createClass(WS, [{
1543 key: "name",
1544 get: function get() {

Callers

nothing calls this directly

Calls 1

_classCallCheckFunction · 0.85

Tested by

no test coverage detected