MCPcopy
hub / github.com/socketio/socket.io / _close

Method _close

packages/socket.io-client/lib/manager.ts:532–537  ·  view source on GitHub ↗

* Close the current socket. * * @private

()

Source from the content-addressed store, hash-verified

530 * @private
531 */
532 _close(): void {
533 debug("disconnect");
534 this.skipReconnect = true;
535 this._reconnecting = false;
536 this.onclose("forced close");
537 }
538
539 /**
540 * Alias for close()

Callers 4

_destroyMethod · 0.95
disconnectMethod · 0.95
connection.tsFile · 0.80
socket.io.jsFile · 0.80

Calls 2

oncloseMethod · 0.95
debugFunction · 0.85

Tested by

no test coverage detected