MCPcopy
hub / github.com/tinyhttp/tinyhttp / cookie

Method cookie

packages/app/src/response.ts:33–33  ·  view source on GitHub ↗
(
    name: string,
    value: string | Record<string, unknown>,
    options?: SerializeOptions & Partial<{ signed: boolean }>
  )

Source from the content-addressed store, hash-verified

31 status(status: number): Response
32 sendStatus(statusCode: number): Response
33 cookie(
34 name: string,
35 value: string | Record<string, unknown>,
36 options?: SerializeOptions & Partial<{ signed: boolean }>

Callers 1

response.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected