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

Method end

packages/engine.io/lib/server.ts:697–700  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

695 public writeHead() {}
696
697 public end() {
698 // we could return a proper error code, but the WebSocket client will emit an "error" event anyway.
699 this.socket.destroy();
700 }
701}
702
703/**

Callers 2

attachMethod · 0.45
abortRequestFunction · 0.45

Calls 1

destroyMethod · 0.45

Tested by

no test coverage detected