MCPcopy Index your code
hub / github.com/socketio/socket.io / restoreAdapter

Function restoreAdapter

lib/uws.ts:113–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

closeMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected