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

Method ondisconnect

lib/socket.ts:716–719  ·  view source on GitHub ↗

* Called upon client disconnect packet. * * @private

()

Source from the content-addressed store, hash-verified

714 * @private
715 */
716 private ondisconnect(): void {
717 debug("got disconnect packet");
718 this._onclose("client namespace disconnect");
719 }
720
721 /**
722 * Handles a client error.

Callers 1

_onpacketMethod · 0.95

Calls 1

_oncloseMethod · 0.95

Tested by

no test coverage detected