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

Method onTransportClose

packages/engine.io/lib/socket.ts:367–369  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

365 };
366
367 const onTransportClose = () => {
368 onError("transport closed");
369 };
370
371 const onClose = () => {
372 onError("socket closed");

Callers

nothing calls this directly

Calls 1

onErrorFunction · 0.70

Tested by

no test coverage detected