MCPcopy Create free account
hub / github.com/EvoMap/evolver / jsonResponse

Function jsonResponse

test/proxyOutboundSync.test.js:21–28  ·  view source on GitHub ↗
(body, status = 200)

Source from the content-addressed store, hash-verified

19}
20
21function jsonResponse(body, status = 200) {
22 return {
23 status,
24 ok: status >= 200 && status < 300,
25 json: async () => body,
26 text: async () => JSON.stringify(body),
27 };
28}
29
30function encryptedTrace(ciphertext) {
31 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected