MCPcopy
hub / github.com/tinyhttp/tinyhttp / json

Method json

packages/app/src/response.ts:30–30  ·  view source on GitHub ↗
(body: unknown)

Source from the content-addressed store, hash-verified

28 send(body: unknown): Response
29 sendFile(path: string, options?: ReadStreamOptions, cb?: (err?: any) => void): Response
30 json(body: unknown): Response
31 status(status: number): Response
32 sendStatus(statusCode: number): Response
33 cookie(

Callers 11

index.jsFile · 0.80
index.jsFile · 0.80
index.jsFile · 0.80
index.tsFile · 0.80
index.jsFile · 0.80
index.jsFile · 0.80
server.tsFile · 0.80
request.test.tsFile · 0.80
app.test.tsFile · 0.80
response.test.tsFile · 0.80
getSession.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected