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

Function restoreAdapter

packages/socket.io/lib/uws.ts:115–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113}
114
115export function restoreAdapter() {
116 Adapter.prototype.addAll = addAll;
117 Adapter.prototype.del = del;
118 Adapter.prototype.broadcast = broadcast;
119}
120
121const toArrayBuffer = (buffer: Buffer) => {
122 const { buffer: arrayBuffer, byteOffset, byteLength } = buffer;

Callers 1

closeMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected