Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/socketio/socket.io
/ onTransportClose
Function
onTransportClose
client-dist/socket.io.js:2070–2072 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2068
_this4.emitReserved(
"upgradeError"
, error);
2069
};
2070
function
onTransportClose() {
2071
onerror(
"transport closed"
);
2072
}
2073
// When the socket is closed while we're probing
2074
function
onclose() {
2075
onerror(
"socket closed"
);
Callers
nothing calls this directly
Calls
1
onerror
Function · 0.85
Tested by
no test coverage detected