MCPcopy
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.tsFile · 0.45
openMethod · 0.45
oncloseMethod · 0.45
socket.tsFile · 0.45
connection.tsFile · 0.45
runFunction · 0.45
afterAllFunction · 0.45
index.tsFile · 0.45
onMessageFunction · 0.45
_tryUpgradeFunction · 0.45
onErrorFunction · 0.45

Calls 1

disconnectMethod · 0.95

Tested by

no test coverage detected