Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
callback
Method · 0.95
Calls
3
send
Method · 0.95
fn
Function · 0.85
onError
Method · 0.45
Tested by
no test coverage detected