Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/socketio/socket.io
/ close
Function
close
client-dist/socket.io.js:1224–1228 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1222
value:
function
doClose() {
1223
var
_this4 = this;
1224
var
close =
function
close() {
1225
_this4.write([{
1226
type
:
"close"
1227
}]);
1228
};
1229
if
(
"open"
=== this.readyState) {
1230
close();
1231
}
else
{
Callers
2
socket.io.js
File · 0.70
cleanupAndClose
Function · 0.70
Calls
3
write
Method · 0.45
onClose
Method · 0.45
close
Method · 0.45
Tested by
no test coverage detected