MCPcopy Create free account
hub / github.com/CloudBoost/cloudboost / close

Function close

sdk/src/CloudSocketClientLib.js:753–757  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

751 }
752
753 function close() {
754 self.onClose('forced close');
755 debug('socket closing - telling transport to close');
756 self.transport.close();
757 }
758
759 function cleanupAndClose() {
760 self.removeListener('upgrade', cleanupAndClose);

Callers 2

cleanupAndCloseFunction · 0.70

Calls 1

debugFunction · 0.70

Tested by

no test coverage detected