MCPcopy
hub / github.com/socketio/socket.io / close

Function close

packages/engine.io-client/lib/transports/polling.ts:123–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121 */
122 override doClose() {
123 const close = () => {
124 debug("writing close packet");
125 this.write([{ type: "close" }]);
126 };
127
128 if ("open" === this.readyState) {
129 debug("transport open - closing");

Callers 1

doCloseFunction · 0.70

Calls 2

debugFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…