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

Method closeConnection

packages/engine.io/lib/userver.ts:149–150  ·  view source on GitHub ↗
(errorCode, errorContext)

Source from the content-addressed store, hash-verified

147 this.clients[req._query.sid].transport.onRequest(req);
148 } else {
149 const closeConnection = (errorCode, errorContext) =>
150 this.abortRequest(res, errorCode, errorContext);
151 this.handshake(
152 req._query.transport,
153 req as unknown as EngineRequest,

Callers

nothing calls this directly

Calls 1

abortRequestMethod · 0.95

Tested by

no test coverage detected