Code
Hub
Workspaces
Connect your AI tool
Indexed graphs
Engine
MCP
copy
hub
/
github.com/socketio/socket.io
/ close
Method
close
packages/socket.io-client/lib/socket.ts:920–922 · packages/socket.io-client/lib/socket.ts::Socket.close
* Alias for {@link disconnect()}. * * @return self
()
Source
from the content-addressed store, hash-verified
918
* @
return
self
919
*/
920
public close(): this {
921
return
this.disconnect();
922
}
923
924
/**
925
* Sets the compress flag.
Callers
14
index.ts
File · 0.45
open
Method · 0.45
onclose
Method · 0.45
socket.ts
File · 0.45
connection.ts
File · 0.45
run
Function · 0.45
connection-state-recovery.ts
File · 0.45
afterAll
Function · 0.45
index.ts
File · 0.45
onMessage
Function · 0.45
_tryUpgrade
Function · 0.45
onError
Function · 0.45
Calls
1
disconnect
Method · 0.95
Tested by
no test coverage detected