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

Function onTransportClose

packages/socket.io/client-dist/socket.io.js:2255–2257  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2253 _this8.emitReserved("upgradeError", error);
2254 };
2255 function onTransportClose() {
2256 onerror("transport closed");
2257 }
2258 // When the socket is closed while we're probing
2259 function onclose() {
2260 onerror("socket closed");

Callers

nothing calls this directly

Calls 1

onerrorFunction · 0.85

Tested by

no test coverage detected