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

Method closeConnection

packages/engine.io/lib/server.ts:809–810  ·  view source on GitHub ↗
(errorCode, errorContext)

Source from the content-addressed store, hash-verified

807 );
808 } else {
809 const closeConnection = (errorCode, errorContext) =>
810 abortRequest(res, errorCode, errorContext);
811 this.handshake(
812 engineRequest._query.transport as TransportName,
813 engineRequest,

Callers

nothing calls this directly

Calls 2

abortRequestFunction · 0.85
abortUpgradeFunction · 0.85

Tested by

no test coverage detected