Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adcontextprotocol/adcp
/ jsonResponse
Function
jsonResponse
server/tests/unit/validator.test.ts:339–346 ·
view source on GitHub ↗
(data: unknown)
Source
from the content-addressed store, hash-verified
337
});
338
339
function
jsonResponse(data: unknown): Response {
340
return
new
Response(JSON.stringify(data), {
341
status: 200,
342
headers: {
343
"content-type"
:
"application/json"
,
344
},
345
});
346
}
Callers
1
validator.test.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected