MCPcopy Index your code
hub / github.com/socketio/socket.io / Decoder

Function Decoder

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

* Decoder constructor * * @param {function} reviver - custom reviver to pass down to JSON.stringify

(reviver)

Source from the content-addressed store, hash-verified

2716 * @param {function} reviver - custom reviver to pass down to JSON.stringify
2717 */
2718 function Decoder(reviver) {
2719 var _this;
2720 _classCallCheck(this, Decoder);
2721 _this = _super.call(this);
2722 _this.reviver = reviver;
2723 return _this;
2724 }
2725 /**
2726 * Decodes an encoded packet string into packet JSON.
2727 *

Callers

nothing calls this directly

Calls 1

_classCallCheckFunction · 0.85

Tested by

no test coverage detected