Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
222
function
encode(packet) {
Callers
5
todo.tests.ts
File · 0.45
index.js
File · 0.45
index.ts
File · 0.45
index.js
File · 0.45
index.js
File · 0.45
Calls
1
#onClose
Method · 0.95
Tested by
no test coverage detected