MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / readBody

Function readBody

graph-ui/tools/lib/static-proxy.mjs:58–65  ·  view source on GitHub ↗
(req)

Source from the content-addressed store, hash-verified

56}
57
58function readBody(req) {
59 return new Promise((resolveBody, reject) => {
60 const chunks = [];
61 req.on('data', (chunk) => chunks.push(chunk));
62 req.on('end', () => resolveBody(Buffer.concat(chunks)));
63 req.on('error', reject);
64 });
65}
66
67/**
68 * dist/ ausliefern, /rpc und /api weiterreichen.

Callers 1

startStaticProxyFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected