MCPcopy
hub / github.com/tinyhttp/tinyhttp / send

Method send

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

Source from the content-addressed store, hash-verified

26 set(field: string | Record<string, unknown>, val?: string | any[]): Response
27 get(field: string): string | number | string[]
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

Callers 15

middlewareFunction · 0.80
jsonpFunction · 0.80
renderTemplateFunction · 0.80
index.jsFile · 0.80
index.jsFile · 0.80
index.jsFile · 0.80
server.jsFile · 0.80
index.jsFile · 0.80
index.tsFile · 0.80
index.jsFile · 0.80
index.tsFile · 0.80
index.jsFile · 0.80

Calls

no outgoing calls

Tested by 3

createColorTestFunction · 0.64
createEmojiTestFunction · 0.64
createAppWithFunction · 0.64