MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / textResponse

Function textResponse

apps/ui/src/lib/api/openapi.test.ts:56–61  ·  view source on GitHub ↗
(status: number, body: string)

Source from the content-addressed store, hash-verified

54}
55
56function textResponse(status: number, body: string): Response {
57 return new Response(body, {
58 status,
59 headers: { "content-type": "text/plain" }
60 });
61}
62
63async function importClient() {
64 const mod = await import("./openapi");

Callers 1

openapi.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected