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

Method onEnd

packages/engine.io/lib/transports-uws/polling.ts:160–166  ·  view source on GitHub ↗
(buffer)

Source from the content-addressed store, hash-verified

158 }
159
160 const onEnd = (buffer) => {
161 this.onData(buffer.toString());
162 this.onDataRequestCleanup();
163 res.cork(() => {
164 res.end("ok");
165 });
166 };
167
168 res.onAborted(() => {
169 this.onDataRequestCleanup();

Callers

nothing calls this directly

Calls 4

onDataMethod · 0.95
onDataRequestCleanupMethod · 0.95
corkMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected