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

Method onClose

packages/engine.io/lib/transports-uws/polling.ts:86–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 this.res = res;
85
86 const onClose = () => {
87 this.writable = false;
88 this.onError("poll connection closed prematurely");
89 };
90
91 const cleanup = () => {
92 this.req = this.res = null;

Callers 1

callbackMethod · 0.95

Calls 3

sendMethod · 0.95
fnFunction · 0.85
onErrorMethod · 0.45

Tested by

no test coverage detected