Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/socketio/socket.io
/ onclose
Method
onclose
packages/engine.io-client/lib/socket.ts:1083–1085 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1081
1082
// When the socket is closed while we're probing
1083
function
onclose() {
1084
onerror(
"socket closed"
);
1085
}
1086
1087
// When the socket is upgraded while we're probing
1088
function
onupgrade(to) {
Callers
nothing calls this directly
Calls
1
onerror
Function · 0.85
Tested by
no test coverage detected