Skip to content

setCookie

reference
1 min readUpdated

Kind: Function

Source: src/helper/cookie/index.ts

Part of: Helper

Signature

ts
function setCookie(c: Context, name: string, value: string, opt: CookieOptions): void

Parameters

NameType
cContext
namestring
valuestring
optCookieOptions

Returns: void

Used by

1 reference from 1 file. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

Imported by (1)

  • DetectorTypesrc/middleware/language/language.ts:10

Was this page helpful?

Download as PDF
setCookie — Hono (narrator proof)