Skip to content

setSignedCookie

reference
1 min readUpdated

Kind: Function

Source: src/helper/cookie/index.ts

Part of: Helper

Signature

ts
async function setSignedCookie(c: Context, name: string, value: string, secret: string | BufferSource, opt: CookieOptions): Promise<void>

Parameters

NameType
cContext
namestring
valuestring
secret`string
optCookieOptions

Returns: Promise<void>

Was this page helpful?

Download as PDF
setSignedCookie — Hono (narrator proof)