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

Method disconnect

examples/basic-websocket-client/src/index.js:216–219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

214 }
215
216 disconnect() {
217 this.#shouldReconnect = false;
218 this.#onClose("io client disconnect");
219 }
220}
221
222function encode(packet) {

Callers 5

todo.tests.tsFile · 0.45
index.jsFile · 0.45
index.tsFile · 0.45
index.jsFile · 0.45
index.jsFile · 0.45

Calls 1

#onCloseMethod · 0.95

Tested by

no test coverage detected